ErrorHandler ErrorHandler ¶ Base class for an error handler. handle abstractmethod async ¶ handle(error: Exception) -> None Handle error. Parameters: Name Type Description Default error Exception The error to handle. required StderrErrorHandler ¶ Error handler that writes errors to sys.stderr. handle async ¶ handle(error: Exception) -> None Handle error. Prints the string representation of the error to sys.stderr. Parameters: Name Type Description Default error Exception The error to handle. required