Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ AsError
Function
AsError
codersdk/client.go:639–642 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
637
}
638
639
func
AsError(err error) (*Error, bool) {
640
var
e *Error
641
return
e, xerrors.As(err, &e)
642
}
643
644
// RequestOption is a function that can be used to modify an http.Request.
645
type
RequestOption
func
(*http.Request)
Callers
15
TestWorkspaceAgentRecreateDevcontainer
Function · 0.92
requireChatUsageLimitExceededError
Function · 0.92
TestUpdateWorkspaceACL
Function · 0.92
workspaceAgentListContainers
Method · 0.92
workspaceAgentDeleteDevcontainer
Method · 0.92
workspaceAgentRecreateDevcontainer
Method · 0.92
TestChatUsageLimitExceededFrom
Function · 0.92
start
Method · 0.92
templateCreate
Method · 0.92
restart
Method · 0.92
templateEdit
Method · 0.92
TestTemplateEdit
Function · 0.92
Calls
1
As
Method · 0.80
Tested by
15
TestWorkspaceAgentRecreateDevcontainer
Function · 0.74
requireChatUsageLimitExceededError
Function · 0.74
TestUpdateWorkspaceACL
Function · 0.74
TestChatUsageLimitExceededFrom
Function · 0.74
TestTemplateEdit
Function · 0.74
TestCreateWorkspace
Function · 0.74
TestCreateUserWorkspace
Function · 0.74
TestWorkspaceAutobuild
Function · 0.74
TestUpdateWorkspaceACL
Function · 0.74
TestCreateGroup
Function · 0.74
TestPatchGroup
Function · 0.74
TestGroup
Function · 0.74