ErrorTracker
Index
Methods
Properties
Methods
__init__
Parameters
optionalkeyword-onlyshow_error_name: bool = True
optionalkeyword-onlyshow_file_and_line_number: bool = True
optionalkeyword-onlyshow_error_message: bool = True
optionalkeyword-onlyshow_full_message: bool = False
Returns None
add
Include an error in the statistics.
Parameters
error: Exception
Returns None
get_most_common_errors
Return n most common errors.
Parameters
optionaln: int = 3
Returns list[tuple[str | None, int]]
Properties
total
Total number of errors.
unique_error_count
Number of distinct kinds of errors.
Track errors and aggregates their counts by similarity.