pub type ScriptResult = Result<ScriptValue, String>;Expand description
What a ScriptFn body hands back: a value, or the message to raise in
the script that called it.
Aliased Type§
pub enum ScriptResult {
Ok(ScriptValue),
Err(String),
}pub type ScriptResult = Result<ScriptValue, String>;What a ScriptFn body hands back: a value, or the message to raise in
the script that called it.
pub enum ScriptResult {
Ok(ScriptValue),
Err(String),
}