multiversx_sc_snippets::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, ) -> !

Implementations on Foreign Types§

Source§

impl<VHB> ErrorApiImpl for VMHooksApi<VHB>
where VHB: VMHooksApiBackend,

Source§

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

Source§

fn signal_error_from_buffer( &self, message_handle: <VMHooksApi<VHB> as HandleTypeInfo>::ManagedBufferHandle, ) -> !

Implementors§