Macro koto_runtime::runtime_error

source ยท
macro_rules! runtime_error {
    ($error:literal) => { ... };
    ($error:expr) => { ... };
    ($error:literal, $($y:expr),+ $(,)?) => { ... };
}
Expand description

Creates a crate::Error from a message (with format-like behaviour), wrapped in Err

Wrapping the result in Err is a convenience for functions that need to return immediately when an error has occured.