Documentation / @warp-drive/legacy / adapter/error / ServerError
Defined in: warp-drive-packages/legacy/src/adapter/error.js:337
A ServerError
equates to a HTTP 500 Internal Server Error
response status. It is used by the adapter to indicate that a request has failed because of an error in the external API.
ServerError
ts
class ServerError(errors, message): void;
Defined in: warp-drive-packages/legacy/src/adapter/error.js:337
A ServerError
equates to a HTTP 500 Internal Server Error
response status. It is used by the adapter to indicate that a request has failed because of an error in the external API.
ServerError
Parameters
errors
any
message
any
Returns
void
Properties
extend()
ts
static extend: (__namedParameters) => {
(errors, message): void;
extend: ({ message: defaultMessage }?: {}) => { (errors: any, message: any): void; prototype: any; extend: any; };
prototype: any;
};
Defined in: warp-drive-packages/legacy/src/adapter/error.js:110
Parameters
__namedParameters
Returns
ts
(errors, message): void;
Parameters
errors
any
message
any
Returns
void
extend
ts
extend: ({ message: defaultMessage }?: {}) => { (errors: any, message: any): void; prototype: any; extend: any; };
prototype
ts
prototype: any;