Skip to main content

refusal_code

Function refusal_code 

Source
pub fn refusal_code(status: u16) -> ErrorCode
Expand description

The neutral failure code one refused delay answer maps to.

The mapping follows the engine’s own answers: a malformed request is the caller’s input, a refused secret is an authentication failure, an unknown outbound is a stale observation and every other refusal is a network failure of the engine’s delay test.