Theo Docs
TheoKitTheoKit-SDKTheoUITheo PaaS
API reference

ErrorCode

Finite, machine-readable error codes for provider-originated errors

ErrorCode

Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.

Finite, machine-readable error codes for provider-originated errors (ADR D66). Consumers can switch (err.metadata?.code) exhaustively — adding a new variant is an explicit decision + test coverage.

Signature

type ErrorCode

Kind

type

Source

packages/sdk/src/errors.ts:10

On this page