API reference
TheokitAgentError
Base class for all errors thrown by `@theokit/sdk`.
TheokitAgentError
Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.
Base class for all errors thrown by @theokit/sdk.
Use isRetryable to drive retry/backoff logic. code and protoErrorCode
are populated for server-originated errors when available. metadata
(ADR D65) carries structured { provider, endpoint, code, ... } when
the error originated from a provider HTTP call.
Signature
class TheokitAgentError {
captureStackTrace(...): ...
prepareStackTrace(...): ...
}Kind
class