Class: NotFoundError
Extends
Constructors
Constructor
new NotFoundError(
message,
statusCode,
response?
): NotFoundError;Parameters
message
string
statusCode
number
response?
unknown
Returns
NotFoundError
Overrides
Properties
response?
readonly optional response?: unknown;Inherited from
statusCode
readonly statusCode: number;Inherited from
Methods
fromResponse()
static fromResponse(
statusCode,
body,
headers?
): VectaPayError;Parameters
statusCode
number
body
unknown
headers?
ErrorHeaders = {}
Returns
Inherited from
network()
static network(message): VectaPayError;Parameters
message
string
Returns
Inherited from
timeout()
static timeout(timeoutMs): VectaPayError;Parameters
timeoutMs
number
Returns
Inherited from
Last updated on