MCPcopy Create free account
hub / github.com/compozy/agh / StatusForWorkspaceError

Function StatusForWorkspaceError

internal/api/core/errors.go:129–131  ·  view source on GitHub ↗

StatusForWorkspaceError maps workspace-domain errors to transport statuses.

(err error)

Source from the content-addressed store, hash-verified

127
128// StatusForWorkspaceError maps workspace-domain errors to transport statuses.
129func StatusForWorkspaceError(err error) int {
130 return statusForWorkspaceError(err)
131}
132
133// NewMemoryValidationError wraps a memory validation failure with the shared sentinel.
134func NewMemoryValidationError(err error) error {

Callers 15

statusForWorkspaceErrorFunction · 0.92
resolveWorkspaceScopeMethod · 0.85
StatusForBundleErrorFunction · 0.85
CreateWorkspaceMethod · 0.85
ListWorkspacesMethod · 0.85
GetWorkspaceMethod · 0.85
UpdateWorkspaceMethod · 0.85
DeleteWorkspaceMethod · 0.85
ResolveWorkspaceMethod · 0.85
ListSessionsMethod · 0.85
listResumableSessionsMethod · 0.85

Calls 1

statusForWorkspaceErrorFunction · 0.70

Tested by 2

statusForWorkspaceErrorFunction · 0.74