hashbrown

TransportErrorOptions

Options for a {@link TransportError}: whether a caller may retry, and the status and code the transport reported.

API

interface TransportErrorOptions  {
}
code
string

Optional machine-readable error code.

retryable
boolean

Indicates whether the error condition is retryable. Defaults to true.

status
number

Optional HTTP status or transport-specific status code.