Struct EvalError
#[repr(transparent)]
pub struct EvalError { /* private fields */ }
Implementations
impl EvalError
fn new(message: &str) -> EvalErrorThe
EvalErrorobject indicates an error regarding the global eval() function. This exception is not thrown by JavaScript anymore, however the EvalError object remains for compatibility.
impl EvalError
fn new_with_options(message: &str, options: &ErrorOptions) -> EvalErrorCreates a new
EvalErrorwith the given message and a typedErrorOptionsdictionary whosecauseproperty indicates the original cause of the error.
Trait Implementations
impl AsRef<Error> for EvalError
fn as_ref(&self) -> &Error
impl AsRef<EvalError> for EvalError
fn as_ref(&self) -> &EvalError
impl AsRef<JsValue> for EvalError
fn as_ref(&self) -> &JsValue
impl AsRef<Object> for EvalError
fn as_ref(&self) -> &Object
impl Clone for EvalError
fn clone(&self) -> Self
impl Debug for EvalError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Deref for EvalError
type Target = Object;fn deref(&self) -> &Object
impl Eq for EvalError
impl ErasableGeneric for EvalError
type Repr = JsValue;
impl From<JsValue> for EvalError
fn from(obj: JsValue) -> Self
impl FromWasmAbi for EvalError
type Abi = <JsValue as FromWasmAbi>::Abi;unsafe fn from_abi(js: Self::Abi) -> Self
impl IntoJsGeneric for EvalError
where
EvalError: JsGeneric,
type JsCanon = EvalError;fn to_js(self) -> EvalError
impl IntoWasmAbi for EvalError
type Abi = <JsValue as IntoWasmAbi>::Abi;fn into_abi(self) -> Self::Abi
impl JsCast for EvalError
fn instanceof(val: &JsValue) -> boolfn unchecked_from_js(val: JsValue) -> Selffn unchecked_from_js_ref(val: &JsValue) -> &Self
impl LongRefFromWasmAbi for EvalError
type Abi = <JsValue as LongRefFromWasmAbi>::Abi;type Anchor = EvalError;unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
impl OptionFromWasmAbi for EvalError
fn is_none(abi: &Self::Abi) -> bool
impl OptionIntoWasmAbi for EvalError
fn none() -> Self::Abi
impl PartialEq for EvalError
fn eq(&self, other: &Self) -> bool
impl Promising for EvalError
type Resolution = EvalError;
impl RefFromWasmAbi for EvalError
type Abi = <JsValue as RefFromWasmAbi>::Abi;type Anchor = ManuallyDrop<EvalError>;unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
impl StructuralPartialEq for EvalError
impl UpcastFrom<EvalError> for EvalError
impl WasmDescribe for EvalError
fn describe()