Enum chakracore::error::ErrorKind
[−]
pub enum ErrorKind { Msg(String), ScriptException(String), ScriptCompile(String), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
ScriptException(String)
A variant indicating that a runtime error has occured.
ScriptCompile(String)
An error caused by incorrect code syntax.
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.