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 Error for VbaError
impl Error for VbaError
sourcefn 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 · sourcefn 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 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