Skip to main content

Module halt

Module halt 

Source
Expand description

The refusal of a halted server, as a caller reads it (COR-05, ADR 0049 decision 4).

An operator’s halt of a server, a tenant or a job refuses new work with a google.rpc.ErrorInfo detail, reason HALTED_REASON in the a2a-rust.com domain, on every binding. A caller stops on it: a halt is an operator’s decision, not a fault, so retrying it only adds load to a server told to stop, and counting it against the server’s health would eject a server that is answering as asked.

Constants§

A2A_RUST_ERROR_DOMAIN
The ErrorInfo domain of the reasons this SDK defines.
HALTED_REASON
The ErrorInfo reason of a halt refusal.

Functions§

halted_detail
The typed detail of a halt refusal.
is_halted
Whether error is a halt refusal: its data holds the typed detail, as a list of details or as the one detail, whatever its code.