Enum js_sandbox_ios::JsError
source · pub enum JsError {
Json(Error),
Runtime(AnyError),
}
Expand description
Error occuring during script execution Represents an error ocurring during script execution
Variants§
Json(Error)
JSON errors stemming from arguments or return values
Runtime(AnyError)
Runtime errors occuring within a JS script
Trait Implementations§
source§impl Error for JsError
impl Error for JsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for JsError
impl !RefUnwindSafe for JsError
impl Send for JsError
impl Sync for JsError
impl Unpin for JsError
impl !UnwindSafe for JsError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more