Trait concordium_std::ExpectNoneReport
source · pub trait ExpectNoneReport {
fn expect_none_report(self, msg: &str);
}Expand description
Analogue of the expect_none methods on Option,
but useful in a Wasm setting.
Required Methods§
sourcefn expect_none_report(self, msg: &str)
fn expect_none_report(self, msg: &str)
Like the default expect_none_report on, e.g., Option, but calling
fail with the given message, instead of panic.