Skip to main content

IROH_REQUEST_TIMEOUT_ERROR_CODE

Constant IROH_REQUEST_TIMEOUT_ERROR_CODE 

Source
const IROH_REQUEST_TIMEOUT_ERROR_CODE: u32 = 1;
Expand description

Application-level QUIC error code we use when closing a [Connection] after a request timeout. Recorded by the peer as the close reason; chosen arbitrarily but stable across stable and iroh_next impls so the two emit identical telemetry. The value 1 distinguishes us from a graceful close (0).