Enum df2::Error
[−]
[src]
pub enum Error { InvalidOffset { shot_number: u16, offset: u16, }, InvalidShotNumber(u16), Io(Error), }
Our custom error enum.
Variants
InvalidOffset
Shot has an invalid offset.
Fields of InvalidOffset
shot_number: u16 | |
offset: u16 |
InvalidShotNumber(u16)
The shot number is invalid.
Io(Error)
Wrapper around std::io::Error
.
Trait Implementations
impl Debug for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more