pub enum RuntimeErrorCode {
Error,
EvalError,
RangeError,
ReferenceError,
SyntaxError,
TypeError,
UriError,
}Expand description
Represents the various types of JavaScript errors that can occur. This corresponds to the
prototype of the JavaScript error object, and the name field is typically derived from it.
Variants§
Trait Implementations§
Source§impl Clone for RuntimeErrorCode
impl Clone for RuntimeErrorCode
Source§fn clone(&self) -> RuntimeErrorCode
fn clone(&self) -> RuntimeErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeErrorCode
impl Debug for RuntimeErrorCode
Source§impl Display for RuntimeErrorCode
impl Display for RuntimeErrorCode
Source§impl PartialEq for RuntimeErrorCode
impl PartialEq for RuntimeErrorCode
impl StructuralPartialEq for RuntimeErrorCode
Auto Trait Implementations§
impl Freeze for RuntimeErrorCode
impl RefUnwindSafe for RuntimeErrorCode
impl Send for RuntimeErrorCode
impl Sync for RuntimeErrorCode
impl Unpin for RuntimeErrorCode
impl UnsafeUnpin for RuntimeErrorCode
impl UnwindSafe for RuntimeErrorCode
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