Returns when the request throws an error.Automatically evaluates the error based on other values
function foo(error: RESTAPIErrorResponse) { switch(error.status) { case 400: error.error !== 'captcha_required' // true case 403: error.error !== 'bad_request' // true }}
Generated using TypeDoc
Returns when the request throws an error.
Automatically evaluates the error based on other values
Example