Skip to main content

ErrorTracker

crawlee.statistics.error_tracker.ErrorTracker

Track errors and aggregates their counts by similarity.

Index

Errors

Constructors

Methods

Properties

Errors

unique_error_count

unique_error_count: int

Number of distinct kinds of errors.

Constructors

__init__

  • __init__(): None
  • Returns None

Methods

add

  • add(error): None
  • Include an error in the statistics.


    Parameters

    • error: Exception

    Returns None

Properties

total

total: int

Total number of errors.