dharitri_vm_executor

Trait ExecutorLastError

Source
pub trait ExecutorLastError {
    // Required methods
    fn update_last_error_str(&mut self, err_str: String);
    fn get_last_error_string(&self) -> String;
}

Required Methods§

Source

fn update_last_error_str(&mut self, err_str: String)

Updates the last known error.

Source

fn get_last_error_string(&self) -> String

Returns the last known error.

Implementors§