Function artichoke_backend::exception_handler::last_error

source ·
pub fn last_error(
    interp: &mut Artichoke,
    exception: Value
) -> Result<Error, Error>
Expand description

Transform a Exception Ruby Value into an Error.

§Errors

This function makes fallible calls into the Ruby VM to resolve the exception. If these calls return an error, that error is returned from this function.