Interface: RustFetchError
Defined in: api/rust-fetch.d.ts:509
Extends
Error
Properties
attempts?
optionalattempts?:number
Defined in: api/rust-fetch.d.ts:512
body?
optionalbody?:string
Defined in: api/rust-fetch.d.ts:522
HttpError: response body as text
cause?
optionalcause?:unknown
Defined in: api/rust-fetch.d.ts:513
Overrides
Error.cause
issues?
optionalissues?: readonlyStandardSchemaIssue[]
Defined in: api/rust-fetch.d.ts:538
ValidationError: what the schema reported
kind
kind:
RustFetchErrorKind
Defined in: api/rust-fetch.d.ts:516
maxEventBytes?
optionalmaxEventBytes?:number
Defined in: api/rust-fetch.d.ts:534
NetworkError for a Server-Sent Event larger than maxEventBytes: the limit
maxLineBytes?
optionalmaxLineBytes?:number
Defined in: api/rust-fetch.d.ts:532
NetworkError for a streamed line longer than maxLineBytes: the limit
maxPendingRequests?
optionalmaxPendingRequests?:number
Defined in: api/rust-fetch.d.ts:530
NetworkError for a request refused by maxPendingRequests: the limit
maxQueuedBytes?
optionalmaxQueuedBytes?:number
Defined in: api/rust-fetch.d.ts:550
NetworkError from WebSocketConnection.send() with a full queue: the limit reached
maxQueuedMessages?
optionalmaxQueuedMessages?:number
Defined in: api/rust-fetch.d.ts:548
NetworkError from WebSocketConnection.send() with a full queue: the limit reached
maxResponseBytes?
optionalmaxResponseBytes?:number
Defined in: api/rust-fetch.d.ts:528
NetworkError for a response larger than maxResponseBytes: the limit
message
message:
string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Error.message
method?
optionalmethod?:string
Defined in: api/rust-fetch.d.ts:510
name
name:
RustFetchErrorKind
Defined in: api/rust-fetch.d.ts:515
Overrides
Error.name
origin?
optionalorigin?:string
Defined in: api/rust-fetch.d.ts:542
CircuitOpenError: the origin whose circuit refused the request
parameter?
optionalparameter?:string
Defined in: api/rust-fetch.d.ts:526
InvalidInputError: the offending parameter
phase?
optionalphase?:"connect"|"response"|"idle"|"total"
Defined in: api/rust-fetch.d.ts:546
TimeoutError: which timer expired (deadlineMs uses total)
reason?
optionalreason?:unknown
Defined in: api/rust-fetch.d.ts:536
CancelledError: the signal's abort reason (controller.abort(reason); an AbortError by default, a TimeoutError for AbortSignal.timeout()). Also cause.
retryAfterMs?
optionalretryAfterMs?:number
Defined in: api/rust-fetch.d.ts:544
CircuitOpenError: milliseconds until recovery may be probed
retryBudgetExhausted?
optionalretryBudgetExhausted?:boolean
Defined in: api/rust-fetch.d.ts:540
true when the client's retryBudget refused to retry this failure (the error is the last attempt's)
stack?
optionalstack?:string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.stack
status?
optionalstatus?:number
Defined in: api/rust-fetch.d.ts:518
HttpError: response status
statusText?
optionalstatusText?:string
Defined in: api/rust-fetch.d.ts:520
HttpError: response status text
timeoutMs?
optionaltimeoutMs?:number
Defined in: api/rust-fetch.d.ts:524
TimeoutError: the timeout that was exceeded
timings?
optionaltimings?:RequestTimings
Defined in: api/rust-fetch.d.ts:514
url?
optionalurl?:string
Defined in: api/rust-fetch.d.ts:511