Struct ReferenceError
#[repr(transparent)]
pub struct ReferenceError { /* private fields */ }
The ReferenceError object represents an error when a non-existent
variable is referenced.
Implementations
impl ReferenceError
fn new_with_options(message: &str, options: &ErrorOptions) -> ReferenceErrorCreates a new
ReferenceErrorwith the given message and a typedErrorOptionsdictionary whosecauseproperty indicates the original cause of the error.
impl ReferenceError
fn new(message: &str) -> ReferenceErrorThe
ReferenceErrorobject represents an error when a non-existent variable is referenced.
Trait Implementations
impl AsRef<Error> for ReferenceError
fn as_ref(&self) -> &Error
impl AsRef<JsValue> for ReferenceError
fn as_ref(&self) -> &JsValue
impl AsRef<Object> for ReferenceError
fn as_ref(&self) -> &Object
impl AsRef<ReferenceError> for ReferenceError
fn as_ref(&self) -> &ReferenceError
impl Clone for ReferenceError
fn clone(&self) -> Self
impl Debug for ReferenceError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Deref for ReferenceError
type Target = Error;fn deref(&self) -> &Error
impl Eq for ReferenceError
impl ErasableGeneric for ReferenceError
type Repr = JsValue;
impl From<JsValue> for ReferenceError
fn from(obj: JsValue) -> Self
impl FromWasmAbi for ReferenceError
type Abi = <JsValue as FromWasmAbi>::Abi;unsafe fn from_abi(js: Self::Abi) -> Self
impl IntoJsGeneric for ReferenceError
where
ReferenceError: JsGeneric,
type JsCanon = ReferenceError;fn to_js(self) -> ReferenceError
impl IntoWasmAbi for ReferenceError
type Abi = <JsValue as IntoWasmAbi>::Abi;fn into_abi(self) -> Self::Abi
impl JsCast for ReferenceError
fn instanceof(val: &JsValue) -> boolfn unchecked_from_js(val: JsValue) -> Selffn unchecked_from_js_ref(val: &JsValue) -> &Self
impl LongRefFromWasmAbi for ReferenceError
type Abi = <JsValue as LongRefFromWasmAbi>::Abi;type Anchor = ReferenceError;unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
impl OptionFromWasmAbi for ReferenceError
fn is_none(abi: &Self::Abi) -> bool
impl OptionIntoWasmAbi for ReferenceError
fn none() -> Self::Abi
impl PartialEq for ReferenceError
fn eq(&self, other: &Self) -> bool
impl Promising for ReferenceError
type Resolution = ReferenceError;
impl RefFromWasmAbi for ReferenceError
type Abi = <JsValue as RefFromWasmAbi>::Abi;type Anchor = ManuallyDrop<ReferenceError>;unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
impl StructuralPartialEq for ReferenceError
impl UpcastFrom<ReferenceError> for ReferenceError
impl WasmDescribe for ReferenceError
fn describe()