[][src]Trait elrond_wasm::ErrorMessage

pub trait ErrorMessage {
    fn message_ptr_and_len(&self) -> (*const u8, usize);
}

All types that can be returned as error result from smart contracts should implement this trait.

Required methods

fn message_ptr_and_len(&self) -> (*const u8, usize)

Loading content...

Implementors

impl ErrorMessage for String[src]

impl ErrorMessage for str[src]

Loading content...