KORTHEXDocumentation

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

ClassWhen it's thrown
AuthErrorLicense invalid / expired / wrong tier
RateLimitErrorQuota exceeded (carries retry-after metadata)
ValidationErrorBad request parameters
NotFoundErrorResource doesn't exist
GatedErrorFeature requires an explicit opt-in (e.g. Exploit ToS)
TransientErrorNetwork / 5xx / retried automatically; bubbles up after retry budget
KorthexErrorCatch-all base class