Authorization Errors
Unauthorized access and permission failures
Authorization
| Code | Name | Trigger |
|---|---|---|
| 6000 | UnauthorizedAi | Caller is not the registered AI authority. |
| 6001 | UnauthorizedOwner | Caller is not the treasury owner. |
| 6002 | UnauthorizedGuardian | Caller is not a registered guardian. |
| 6003 | UnauthorizedExecutor | Caller may not finalize/execute. |
| 6044 | OperatorRoleMissing | No operator role for the required permission. |
| 6045 | OperatorRoleExpired | Operator role is expired or revoked. |
| 6037 | SessionKeyInactive | Session key expired or revoked. |
| 6038 | SessionKeyScopeViolation | Session key out of scope for the proposal. |
| 6102 | AgentScopeExceeded | Proposal chain or tx type is outside the agent's allowed scope. New |
| 6103 | AgentDisabled | Agent authority has been revoked. New |
| 6105 | UnauthorizedHandover | Caller is not authorized to nominate or execute an ownership handover. New |
| 6115 | ApproverNotAuthorized | Signer is neither the owner nor a registered guardian. New |
| 6117 | AgentCapabilityExceeded | Proposed action falls outside the agent's capability manifest. New |
| 6118 | ForbiddenInstructionForAgent | Agent attempted a privileged instruction it is not granted. New |
| 6112 | UnauthorizedRecovery | Caller is not authorized to initiate a recovery operation. New |
| 6099 | TrustRestoreUnauthorized | Caller is neither the owner nor a registered guardian. New |
| 6124 | UnauthorizedProtocolAuthority | Caller is not the protocol authority recorded on ProtocolConfig. New |