pub enum CribaError {
Csv(Error),
Serialize(Error),
Format(Error),
Io(Error),
Parse {
line: usize,
reason: String,
context: String,
},
Encoding {
detected: String,
},
VerificationFailed {
invariant: String,
uid: String,
detail: String,
},
Config {
path: String,
line: usize,
reason: String,
},
EmptyVcf,
InvariantError(Box<dyn Error + Send + Sync>),
}Variants§
Csv(Error)
Serialize(Error)
Format(Error)
Io(Error)
Parse
Encoding
VerificationFailed
Config
EmptyVcf
InvariantError(Box<dyn Error + Send + Sync>)
Trait Implementations§
Source§impl Debug for CribaError
impl Debug for CribaError
Source§impl Display for CribaError
impl Display for CribaError
Source§impl Error for CribaError
impl Error for CribaError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<Error> for CribaError
impl From<Error> for CribaError
Source§impl From<Error> for CribaError
impl From<Error> for CribaError
Source§impl From<Error> for CribaError
impl From<Error> for CribaError
Auto Trait Implementations§
impl !RefUnwindSafe for CribaError
impl !UnwindSafe for CribaError
impl Freeze for CribaError
impl Send for CribaError
impl Sync for CribaError
impl Unpin for CribaError
impl UnsafeUnpin for CribaError
Blanket Implementations§
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