[−][src]Enum ecmascript::compiler::value::NativeError
Variants
Error(String)
SyntaxError(String)
EvalError
This exception is not currently used within this specification. This object remains for compatibility with previous editions of this specification.
Fields of EvalError
RangeError(String)
ReferenceError(String)
TypeError(String)
URIError(String)
InternalError(String)
Methods
impl NativeError
[src]
pub fn error<T: Into<String>>(message: T) -> Self
[src]
pub fn syntax_error<T: Into<String>>(message: T) -> Self
[src]
pub fn eval_error<T: Into<String>>(message: T) -> Self
[src]
pub fn range_error<T: Into<String>>(message: T) -> Self
[src]
pub fn reference_error<T: Into<String>>(message: T) -> Self
[src]
pub fn type_error<T: Into<String>>(message: T) -> Self
[src]
pub fn uri_error<T: Into<String>>(message: T) -> Self
[src]
pub fn internal_error<T: Into<String>>(message: T) -> Self
[src]
Trait Implementations
impl Display for NativeError
[src]
impl Debug for NativeError
[src]
Auto Trait Implementations
impl Send for NativeError
impl Sync for NativeError
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,