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
ErrorInfodomainof the reasons this SDK defines. - HALTED_
REASON - The
ErrorInforeasonof a halt refusal.
Functions§
- halted_
detail - The typed detail of a halt refusal.
- is_
halted - Whether
erroris a halt refusal: itsdataholds the typed detail, as a list of details or as the one detail, whatever its code.