Enum gimli::parser::Error [] [src]

pub enum Error {
    LebError(Error),
    AbbreviationCodeZero,
    InvalidAbbreviationTag,
    InvalidAbbreviationHasChildren,
    InvalidAttributeName,
    InvalidAttributeForm,
    ExpectedZero,
    DuplicateAbbreviationCode,
}

A parse error.

Variants

LebError(Error)

A malformed LEB128 value.

AbbreviationCodeZero

Zero is an illegal value for an abbreviation code.

InvalidAbbreviationTag

The abbreviation's tag is not a known variant of AbbreviationTag (aka DW_TAG_*).

InvalidAbbreviationHasChildren

The abbreviation's "does the abbreviated type have children?" byte was not one of DW_CHILDREN_yes or DW_CHILDREN_no.

InvalidAttributeName

The abbreviation's attribute name is not a valid variant of AttributeName (aka DW_AT_*).

InvalidAttributeForm

The abbreviation's attribute form is not a valid variant of AttributeForm (aka DW_FORM_*).

ExpectedZero

Expected a zero byte, but did not find one.

DuplicateAbbreviationCode

An abbreviation attempted to declare a code that is already in use by an earlier abbreviation definition.

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

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