pub enum WdlError {
Io(Error),
InvalidMagic {
expected: String,
found: String,
},
UnsupportedVersion(u32),
ParseError(String),
ValidationError(String),
VersionConversionError(String),
UnexpectedEof,
UnexpectedChunk(String),
}Expand description
Errors that can occur when working with WDL files
Variants§
Io(Error)
An I/O error occurred
InvalidMagic
Invalid magic value in the file header
UnsupportedVersion(u32)
Unsupported WDL version
ParseError(String)
Error when parsing WDL data
ValidationError(String)
Data validation failed
VersionConversionError(String)
Error when converting between WDL versions
UnexpectedEof
Unexpected end of file
UnexpectedChunk(String)
Unexpected chunk found
Trait Implementations§
Source§impl Error for WdlError
impl Error for WdlError
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()
Auto Trait Implementations§
impl Freeze for WdlError
impl !RefUnwindSafe for WdlError
impl Send for WdlError
impl Sync for WdlError
impl Unpin for WdlError
impl !UnwindSafe for WdlError
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