Macro frame_support::fail

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

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

Used as fail!(expression).