Enum symbolic_common::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    Io(Error),
    Utf8Error(Utf8Error),
    ParseInt(ParseIntError),
    Panic(String),
    BadSymbol(String),
    Internal(&'static str),
    Parse(&'static str),
    NotFound(&'static str),
    Format(&'static str),
    UnsupportedObjectFile,
    MalformedObjectFile(String),
    BadCacheFile(&'static str),
    MissingSection(&'static str),
    BadDwarfData(&'static str),
    BadBreakpadSym(&'static str),
    MissingDebugInfo(&'static str),
    BadJson(String),
    BadSourcemap(String),
    Stackwalk(String),
    Resolver(String),
    CannotFlattenSourcemap(String),
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Raised in some cases if panics are caught

Raised on operations that work on symbols if the symbol data is bad.

Raised for internal errors in the libraries. Should not happen.

Raised for bad input on parsing in symbolic.

General error for missing information.

Raised for bad input on parsing in symbolic.

Raised if unsupported object files are loaded.

Raised if object files are malformed.

Raised for unknown cache file versions.

Raised if a section is missing in an object file.

Raised for DWARF failures.

Raised for bad breakpad symbols.

Raised for JSON parse errors.

Raised for bad sourcemap data.

Raised while stackwalking minidumps.

Raised when a resolver cannot load its symbols file.

Raised if sourcemaps cannot be flattened.

Methods

impl ErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for ErrorKind

Formats the value using the given formatter.

impl Display for ErrorKind

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.

impl From<Error> for ErrorKind

Performs the conversion.