code: def exception(  # type: ignore
          self, msg, *args, exc_info=True, **kwargs
      ) -> Task:
          
          return self.error(msg, *args, exc_info=exc_info, **kwargs)
docs: Convenience method for logging an ERROR with exception information.