Skip to main content

api_bail

Macro api_bail 

Source
macro_rules! api_bail {
    ( $fmt:literal $(, $($arg:tt)*)?) => { ... };
}
Expand description

Returns early with a formatted ApiError, converted into the caller’s error type via .into().