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).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
status |
number |
body |
ApiErrorBody |
Returns
Section titled “Returns”Error