CowApiError
Defined in: protocol-swap2-cow/src/api.ts:38
An answer of the orderbook that is not a success. errorType is the API’s own (letters, digits, underscore) or HTTP <status>.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CowApiError(
status,errorType,description):CowApiError
Defined in: protocol-swap2-cow/src/api.ts:41
Parameters
Section titled “Parameters”status
Section titled “status”number
errorType
Section titled “errorType”string
description
Section titled “description”string
Returns
Section titled “Returns”CowApiError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”errorType
Section titled “errorType”
readonlyerrorType:string
Defined in: protocol-swap2-cow/src/api.ts:40
status
Section titled “status”
readonlystatus:number
Defined in: protocol-swap2-cow/src/api.ts:39