[−][src]Trait elrond_wasm::io::sc_error::ErrorMessage
All types that can be returned as error result from smart contracts should implement this trait.
All types that can be returned as error result from smart contracts should implement this trait.
fn with_message_slice<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
impl<'_> ErrorMessage for &'_ str
[src]fn with_message_slice<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]impl<'a> ErrorMessage for SCError
[src]fn with_message_slice<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]