Enum goblin::error::Error
[−]
pub enum Error { Malformed(String), BadMagic(u64), Scroll(Error), IO(Error), }
A custom Goblin error
Variants
Malformed(String)
The binary is malformed somehow
BadMagic(u64)
The binary's magic is unknown or bad
Scroll(Error)
An error emanating from reading and interpreting bytes
IO(Error)
An IO based 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