Error Message¤
ErrorMessage
dataclass
¤
ErrorMessage(
when: When,
location: Location,
exception_type: str,
exception_value: str,
traceback: Traceback,
event: str = "error_message",
)
An error message.
Attributes:
Name | Type | Description |
---|---|---|
event |
str
|
The event type. Always 'error_message'. |
exception_type |
str
|
The exception type as a string. |
exception_value |
str
|
The exception value as a string. |
location |
Location
|
The location of the error. |
traceback |
Traceback
|
The traceback of the error. A traceback contains entries for each frame of the call stack. |
when |
When
|
When the error message is emitted. |