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),
BadSymbolTable(&'static str),
BadJson(String),
BadSourcemap(String),
Stackwalk(String),
Resolver(String),
CannotFlattenSourcemap(String),
// some variants omitted
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
Io(Error)Utf8Error(Utf8Error)ParseInt(ParseIntError)Panic(String)Raised in some cases if panics are caught
BadSymbol(String)Raised on operations that work on symbols if the symbol data is bad.
Internal(&'static str)Raised for internal errors in the libraries. Should not happen.
Parse(&'static str)Raised for bad input on parsing in symbolic.
NotFound(&'static str)General error for missing information.
Format(&'static str)Raised for bad input on parsing in symbolic.
UnsupportedObjectFileRaised if unsupported object files are loaded.
MalformedObjectFile(String)Raised if object files are malformed.
BadCacheFile(&'static str)Raised for unknown cache file versions.
MissingSection(&'static str)Raised if a section is missing in an object file.
BadDwarfData(&'static str)Raised for DWARF failures.
BadBreakpadSym(&'static str)Raised for bad breakpad symbols.
MissingDebugInfo(&'static str)BadSymbolTable(&'static str)BadJson(String)Raised for JSON parse errors.
BadSourcemap(String)Raised for bad sourcemap data.
Stackwalk(String)Raised while stackwalking minidumps.
Resolver(String)Raised when a resolver cannot load its symbols file.
CannotFlattenSourcemap(String)Raised if sourcemaps cannot be flattened.
Methods
impl ErrorKind
pub fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl From<ErrorKind> for Error
impl Debug for ErrorKind
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more