Public declaration syntax from forge-py/src/forge/auth/error.py Original source SHA-256: e2b8cd3053e221c4aff2129b3b9e67071f33370f7695f57705ee024999791ea8 Function bodies and constant values are omitted. This is not the complete implementation. Source line 16 class ForgeAuthError(ForgeError) Source line 24 def error_code(self) -> str Source line 33 class TokenExpiredError(ForgeAuthError) Source line 53 def __init__(self, token_id: str, agent_did: str, expired_at: str) -> None Source line 62 def is_expired(self) -> bool Source line 66 def error_code(self) -> str Source line 71 class InsufficientScopeError(ForgeAuthError) Source line 94 def __init__(self, agent_did: str, required_scope: str, available_scopes: list[str]) -> None Source line 108 def error_code(self) -> str Source line 113 class CapabilityEscalationError(ForgeAuthError) Source line 138 def __init__(self, parent_did: str, child_did: str, requested: str, available: list[str]) -> None Source line 154 def error_code(self) -> str Source line 159 class DelegationDeniedError(ForgeAuthError) Source line 183 def __init__(self, parent_did: str, child_did: str, reason: str) -> None Source line 192 def error_code(self) -> str Source line 197 class InvalidTokenError(ForgeAuthError) Source line 215 def __init__(self, reason: str) -> None Source line 219 def error_code(self) -> str