pub enum VbaError {
Cfb(CfbError),
Io(Error),
ModuleNotFound(String),
Unknown {
typ: &'static str,
val: u16,
},
LibId,
InvalidRecordId {
expected: u16,
found: u16,
},
}
Expand description
A VBA specific error enum
Variants
Cfb(CfbError)
Error comes from a cfb parsing
Io(Error)
Io error
ModuleNotFound(String)
Cannot find module
Unknown
Generic unknown u16 value
LibId
Invalid libid format
InvalidRecordId
Invalid record id
Trait Implementations
sourceimpl Fail for VbaError
impl Fail for VbaError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreAuto Trait Implementations
impl !RefUnwindSafe for VbaError
impl Send for VbaError
impl Sync for VbaError
impl Unpin for VbaError
impl !UnwindSafe for VbaError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more