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.
new Threshold1ApiError(
message,
status,
code): Threshold1ApiError;
string
number
string
Threshold1ApiError
Error.constructor
readonly code: string;
Machine-readable error code from the API response body
readonly status: number;
HTTP status code (0 for network-level errors)