Public declaration syntax from forge-go/collab/errors.go Original source SHA-256: 89998b39aa52820c9ec4d5d32700fdbe3af404605ba441939d0051f4a8625588 Function bodies and constant values are omitted. This is not the complete implementation. Source line 17 type CollabError struct Source line 29 type CollabErrorKind string const ( // ErrKindSessionNotFound indicates the session does not exist. ErrKindSessionNotFound CollabErrorKind; Source line 73 func (e *CollabError) Error() string Source line 81 func (e *CollabError) Unwrap() error Source line 86 func NewSessionNotFoundError(sessionID string) *CollabError Source line 94 func NewSessionAlreadyActiveError(sessionID string) *CollabError Source line 102 func NewInvalidSessionTransitionError(from, to string) *CollabError Source line 110 func NewNotAParticipantError(agentDID, sessionID string) *CollabError Source line 118 func NewTaskNotFoundError(taskID string) *CollabError Source line 126 func NewTaskAlreadyAssignedError(taskID, assignee string) *CollabError Source line 134 func NewCapabilityMismatchError(taskType, agentDID, reason string) *CollabError Source line 142 func NewContextKeyNotFoundError(key string) *CollabError Source line 150 func NewContextPermissionDeniedError(key, agentDID string) *CollabError Source line 158 func NewInterruptRejectedError(interruptID, reason string) *CollabError Source line 166 func NewDelegationFailedError(reason string) *CollabError Source line 174 func NewRoleViolationError(agentDID, role, action string) *CollabError