pub trait IntoRhaiError {
// Required method
fn into_rhai_error(self) -> Box<EvalAltResult>;
}Expand description
A trait for converting types into an EvalAltResult
Required Methods§
Sourcefn into_rhai_error(self) -> Box<EvalAltResult>
fn into_rhai_error(self) -> Box<EvalAltResult>
Converts the error into an InteropError