Skip to main content

check_ffi

Function check_ffi 

Source
pub fn check_ffi(code: UikaErrorCode) -> UikaResult<()>
Expand description

Convert an FFI error code to a UikaResult<()>. Ok maps to Ok(()), all others map to the corresponding UikaError.