Enum workflow_wasm::error::Error
source · pub enum Error {
Show 18 variants
Custom(String),
WrongType(String),
WrongSize(String),
MissingProperty(String),
PropertyAccess(String),
Bounds(String),
Convert(String),
HexStringNotEven(String),
FasterHex(Error),
JsValue(JsErrorData),
Abi(String),
NotAnObject,
NotWasmAbiPointer,
NotWasmAbiPointerForClass(String),
NotAnObjectOfClass(String),
NoConstructorOfClass(String),
UnableToObtainConstructorName(String),
ClassConstructorMatch(String, String),
}
Variants§
Custom(String)
WrongType(String)
WrongSize(String)
MissingProperty(String)
PropertyAccess(String)
Bounds(String)
Convert(String)
HexStringNotEven(String)
FasterHex(Error)
JsValue(JsErrorData)
Abi(String)
NotAnObject
NotWasmAbiPointer
NotWasmAbiPointerForClass(String)
NotAnObjectOfClass(String)
NoConstructorOfClass(String)
UnableToObtainConstructorName(String)
ClassConstructorMatch(String, String)
Implementations§
Trait Implementations§
source§impl Error for Error
impl Error for Error
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 RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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