crash.exceptions module¶
-
exception
crash.exceptions.
ArgumentTypeError
(name: str, val: Any, expected_type: Type[CT_co])[source]¶ Bases:
crash.exceptions.InvalidArgumentError
The provided object could not be converted to the expected type
-
exception
crash.exceptions.
CorruptedError
[source]¶ Bases:
RuntimeError
A corrupted data structure has been encountered.
-
exception
crash.exceptions.
DelayedAttributeError
(name: str)[source]¶ Bases:
AttributeError
The attribute has been declared but the symbol to fill it has not yet been located.
-
exception
crash.exceptions.
IncompatibleGDBError
(message: str)[source]¶ Bases:
RuntimeError
This version of GDB is incompatible
-
exception
crash.exceptions.
InvalidArgumentError
[source]¶ Bases:
TypeError
Base class for invalid argument exceptions
-
exception
crash.exceptions.
MissingSymbolError
[source]¶ Bases:
RuntimeError
The requested symbol cannot be located.
-
exception
crash.exceptions.
MissingTypeError
[source]¶ Bases:
RuntimeError
The requested type cannot be located.
-
exception
crash.exceptions.
NotStructOrUnionError
(name: str, gdbtype: gdb.Type)[source]¶ Bases:
crash.exceptions.UnexpectedGDBTypeBaseError
The provided type is not a struct or union
-
exception
crash.exceptions.
UnexpectedGDBTypeBaseError
[source]¶ Bases:
crash.exceptions.InvalidArgumentError
Base class for unexpected gdb type exceptions
-
exception
crash.exceptions.
UnexpectedGDBTypeError
(name: str, val: gdb.Value, expected_type: gdb.Type)[source]¶ Bases:
crash.exceptions.UnexpectedGDBTypeBaseError
The gdb.Type passed describes an inappropriate type for the operation