Expand description
The frozen error codes, and the one thing a caller is allowed to conclude from each: whether retrying is safe.
Codes are SCREAMING_SNAKE_CASE strings on the wire rather than integers,
because the first reader of a relay error is a person looking at a log line
and the second is a phone deciding whether to offer a retry button. Neither
is helped by 4007.
retryable is a property of the code, not of the situation. A caller
must never decide for itself that a refusal looks safe to repeat: the whole
danger of remote machine control is the mutation that ran, answered nothing,
and gets sent again. So the table below is the only authority, and it is
deliberately pessimistic — anything that might have executed is not
retryable, even when it usually did not.
Structs§
- Protocol
Error - A refusal on the wire.
Enums§
- Error
Code - Why a frame was refused, or why the operation behind it did not happen.