def METHOD_NAME(self, error: Exception) -> None:
    """Error handler for this task. Called when an exception is raised during execution of the task."""
    self.on_error_sentry_hook(error)
    interactions.Client.default_error_handler("Task", error)