Request Error
RequestError interface represents an HTTP error with a message and an HTTP status code. It's surfaced in the API as the error in result type.
RequestError
An object that represents an error with a request
Signature:
interface RequestError
Properties
Property | Type |
---|---|
message | string |
statusCode | number |