Macro frame_support::fail

source ยท
macro_rules! fail {
    ( $y:expr ) => { ... };
}
Expand description

Return Err of the expression: return Err($expression);.

Used as fail!(expression).