threshold1

Errors

Threshold1ApiError extends the built-in Error — only the SDK-specific parts (constructor, status, code) are shown below; inherited built-in Error internals (stack traces, etc.) are omitted as noise.

Generated directly from @threshold1/auth@0.3.0 — the real, currently-installed package, not hand-typed. Regenerated on every build; if this page and the actual SDK ever disagree, the SDK is right and this page needs a rebuild, not an edit.

Constructors

Constructor

new Threshold1ApiError(
   message, 
   status, 
   code): Threshold1ApiError;

Parameters

message

string

status

number

code

string

Returns

Threshold1ApiError

Overrides

Error.constructor

Properties

code

readonly code: string;

Machine-readable error code from the API response body


status

readonly status: number;

HTTP status code (0 for network-level errors)