[][src]Trait mruby::exception::MrbExceptionHandler

pub trait MrbExceptionHandler {
    fn last_error(&self) -> LastError;
}

Extract the last exception thrown on the interpreter.

Required methods

fn last_error(&self) -> LastError

Extract the last thrown exception on the mruby interpreter if there is one.

If there is an error, return LastError::Some, which contains the exception class name, message, and optional backtrace.

Loading content...

Implementors

impl MrbExceptionHandler for Mrb[src]

Loading content...