Custom error class for network errors
private
getErrorCode(statusCode?: number): ErrorCode
Gets error code from status code
readonly
retryable: boolean
Whether the request can be retried
readonly
optional
statusCode: number
HTTP status code if available
readonly
url: string
URL that failed