Skip to main content

from_rnp_code

Function from_rnp_code 

Source
pub fn from_rnp_code(code: u32) -> Error
Expand description

Construct an Error::Rnp from a raw rnp_result_t code, looking up its kind and message. Use when integrating with hand-written FFI bindings that return raw u32 codes.