BASIS/Errors

Error Codes

60+ error codes in 12 categories

Overview

BASIS defines a comprehensive error taxonomy with 60+ error codes organized into 12 categories. All errors follow a consistent format and include actionable information for debugging and monitoring.

Error Response Format

{
  "error_code": "E1201",
  "error_category": "INTENT",
  "error_message": "Failed to parse action intent",
  "timestamp": "2026-01-15T10:30:00Z",
  "request_id": "req_abc123xyz",
  "details": {
    "parse_stage": "extraction",
    "failure_reason": "Ambiguous action target"
  },
  "retryable": false,
  "retry_after": null,
  "documentation_url": "https://vorion.org/basis/errors#E1201"
}

Error Categories

CategoryCode RangeDescription
TRUSTE1000-E1099Trust score errors
CAPABILITYE1100-E1199Capability check failures
INTENTE1200-E1299Intent parsing errors
ENFORCEE1300-E1399Policy enforcement errors
PROOFE1400-E1499Proof generation/verification
CHAINE1500-E1599Blockchain anchoring
ENTITYE1600-E1699Entity management
POLICYE1700-E1799Policy configuration
RATE_LIMITE1800-E1899Rate limiting
SYSTEME1900-E1999System-level errors
AUTHE2000-E2099Authentication/authorization
VALIDATIONE2100-E2199Input validation

Common Error Codes

E1010TRUSTRetryable

Trust score unavailable

Cannot retrieve entity trust score. Usually transient database issue.

E1103CAPABILITYNot Retryable

Capability not granted

Entity does not have required capability. Check trust tier or request capability grant.

E1201INTENTNot Retryable

Failed to parse action intent

Could not extract structured intent from input. Reformulate request.

E1310ENFORCERetryable

Governance unavailable

ENFORCE layer cannot evaluate. System defaults to DENY.

E1403PROOFNot Retryable

Proof chain integrity violation

Hash chain verification failed. SECURITY ALERT: Potential tampering.

E2001AUTHNot Retryable

Authentication required

No valid authentication provided. Include API key or token.

For the complete error taxonomy with all 60+ codes, see the full document on GitHub.

View All Error Codes on GitHub