Skip to main content

Module error

Module error 

Source

Structs§

HttpFailure
The parts of a non-2xx answer worth keeping.

Enums§

Error
ProviderFailure
Which way talking to the model server failed.
ProviderFailureKind
ProviderFailure without its payload, for callers that match on the shape of the failure rather than its contents.

Functions§

is_retryable_status
429 and 5xx are the server’s own transient trouble; 408 is a timeout it admits to. Everything else in 4xx is a mistake in the request that repeating will not fix.

Type Aliases§

Result