Traceback

A serialized traceback.

Declaration

struct Traceback

Initializers

Initializes a traceback.

Properties

Text representation (colored if tty).

If SyntaxError, the end position of the concerned code.

Exception type.

Message.

If AttributeError or NameError, the name that caused the error.

If SyntaxError, the beggining start position of the concerned code.

Serialized stack.

If AttributeError or NameError, a suggestion to fix the error.

Structures

A serialized frame.

Conforms to

  • Codable