Public declaration syntax from forge-go/auth/error.go Original source SHA-256: 47419d6861b33db30aa64dd6fa1547b7082421bf208aabd5b07f0762533f3935 Function bodies and constant values are omitted. This is not the complete implementation. Source line 21 type ErrKind string const ( // ErrKindTokenExpired indicates that the ACT has expired. ErrKindTokenExpired ErrKind; Source line 48 type AuthError struct Source line 63 func (e *AuthError) Error() string Source line 71 func (e *AuthError) Unwrap() error Source line 76 func (e *AuthError) Is(target error) bool Source line 85 func (e *AuthError) IsExpired() bool Source line 90 func (e *AuthError) IsInsufficientScope() bool Source line 95 func (e *AuthError) IsCapabilityEscalation() bool Source line 100 func (e *AuthError) IsDelegationDenied() bool Source line 105 func (e *AuthError) IsInvalidToken() bool Source line 110 func (e *AuthError) ErrorCode() string Source line 150 func NewTokenExpiredError(tokenID, agentDID, expiredAt string) *AuthError Source line 169 func NewInsufficientScopeError(agentDID, requiredScope string, availableScopes []string) *AuthError Source line 187 func NewCapabilityEscalationError(parentDID, childDID, requested string, available []string) *AuthError Source line 206 func NewDelegationDeniedError(parentDID, childDID, reason string) *AuthError Source line 225 func NewInvalidTokenError(reason string) *AuthError