Skip to main content

Module error

Module error 

Source

Structs§

DependencyFailure

Enums§

ProviderError

Constants§

DIAGNOSTIC_TRUNCATION_MARKER
Appended to a diagnostic that hit MAX_DIAGNOSTIC_BYTES, so a reader can tell a truncated message from a short one.
MAX_DIAGNOSTIC_BYTES
The longest upstream diagnostic a ProviderError carries, before the truncation marker.

Functions§

is_rate_limit_payload
Recognize only explicit provider rate-limit markers in an SSE JSON payload.