ResponseError
An error object return in a response in case a request has failed.
class ResponseError<D = void> extends Error {}
constructor(
code: number,
message: string,
data?: D,
);An error object return in a response in case a request has failed.