multiversx_sc

Macro sc_error

Source
macro_rules! sc_error {
    ($s:expr) => { ... };
}
👎Deprecated since 0.48.0: Use sc_panic! instead, which terminates immediately.
Expand description

Compact way of returning a static error message.