Skip to content

FallbackError

Enum Class

FallbackError

Bases: UnknownEnumMixin, StrEnum

Attributes

CONNECTION_ERROR class-attribute instance-attribute
CONNECTION_ERROR = 'CONNECTION_ERROR'

The gateway could not establish a connection to the destination (connection refused/reset, or connection timeout) --- the attempt never reached the provider. Feeds the circuit breaker.

FIRST_BYTE_TIMEOUT class-attribute instance-attribute
FIRST_BYTE_TIMEOUT = 'FIRST_BYTE_TIMEOUT'

The destination accepted the connection but did not return the first response byte within firstByteTimeoutMilliseconds; the attempt is abandoned before any byte reaches the client. Feeds the circuit breaker.

UNROUTABLE class-attribute instance-attribute
UNROUTABLE = 'UNROUTABLE'

Gateway-side: the target could not be routed to (target missing, or it does not support the request's API path). Deterministic --- advances the chain but does NOT feed the breaker.