Skip to main content

wire_code

Function wire_code 

Source
pub fn wire_code(err: &UcanVerifyError) -> u16
Expand description

Wire-code mapping per UcanVerifyError variant.

Returns (code, retryable) for use by dispatch when converting a verify error into a Response::Error. All verify errors are non-retryable (deterministic on the same input).