Skip to content

Variable: ERROR_CATEGORIES

Makaio Framework


Makaio Framework / contracts/shared / ERROR_CATEGORIES

const ERROR_CATEGORIES: readonly ["rate_limit", "auth", "model_unavailable", "quota_exceeded"]

Defined in: ../../../packages/contracts/src/shared/index.ts:191

Runtime error categories for adapter failures. Used to classify errors during agent execution for fallback/retry logic.

Note: The ‘all’ category exists in VirtualModelErrorCategorySchema but is excluded here as it’s only used for fallback configuration, not runtime error classification.