multiversx_sc_scenario::imports

Trait ErrorApiImpl

Source
pub trait ErrorApiImpl: HandleTypeInfo {
    // Required methods
    fn signal_error(&self, message: &[u8]) -> !;
    fn signal_error_from_buffer(
        &self,
        message_handle: Self::ManagedBufferHandle,
    ) -> !;
}

Required Methods§

Source

fn signal_error(&self, message: &[u8]) -> !

Source

fn signal_error_from_buffer( &self, message_handle: Self::ManagedBufferHandle, ) -> !

Implementors§