Skip to content

ApiErrorConstructor

type ApiErrorConstructor = new (status, body) => Error;

Defined in: src/ui/api-client.ts:50

A constructor for the error the client throws (an ApiError subclass, or compatible).

Parameter Type
status number
body ApiErrorBody

Error