Docs / DEVELOPER TOOLS
DEVELOPER TOOLS
Errors & Retries
Written and maintained by Hendrik Schneider · Last reviewed · How we check this
Every SDK error inherits from KorthexError . Subclasses encode the category so you can branch on type rather than parsing strings.
Error Hierarchy
| Class | When it's thrown |
|---|---|
| AuthError | License invalid / expired / wrong tier |
| RateLimitError | Quota exceeded (carries retry-after metadata) |
| ValidationError | Bad request parameters |
| NotFoundError | Resource doesn't exist |
| GatedError | Feature requires an explicit opt-in (e.g. Exploit ToS) |
| TransientError | Network / 5xx / retried automatically; bubbles up after retry budget |
| KorthexError | Catch-all base class |