crash.exceptions module

exception crash.exceptions.ArgumentTypeError(name: str, val: Any, expected_type: Type)[source]

Bases: InvalidArgumentError

The provided object could not be converted to the expected type

format_clsname(cls: Type) str[source]
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.MissingFieldError[source]

Bases: RuntimeError

The requested field cannot be located.

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: Type)[source]

Bases: UnexpectedGDBTypeBaseError

The provided type is not a struct or union

exception crash.exceptions.UnexpectedGDBTypeBaseError[source]

Bases: InvalidArgumentError

Base class for unexpected gdb type exceptions

exception crash.exceptions.UnexpectedGDBTypeError(name: str, val: Value, expected_type: Type)[source]

Bases: UnexpectedGDBTypeBaseError

The gdb.Type passed describes an inappropriate type for the operation