Enum cpp_demangle::error::Error [−][src]
pub enum Error { UnexpectedEnd, UnexpectedText, BadBackReference, BadTemplateArgReference, ForwardTemplateArgReference, BadFunctionArgReference, BadLeafNameReference, Overflow, TooMuchRecursion, }
Errors that can occur while demangling a symbol.
Variants
The mangled symbol ends abruptly.
The mangled symbol is not well-formed.
Found a back reference that is out-of-bounds of the substitution table.
Found a reference to a template arg that is either out-of-bounds, or in a context without template args.
Found a reference to a template arg from within the arg itself (or from within an earlier arg).
Found a reference to a function arg that is either out-of-bounds, or in a context without function args.
Found a reference to a leaf name in a context where there is no current leaf name.
An overflow or underflow would occur when parsing an integer in a mangled symbol.
Encountered too much recursion when demangling symbol.