from .errors import EndlessException
import abc
[docs]
class ErrorHandler(abc.ABC):
'''Abstract base class for error handlers'''
[docs]
@abc.abstractmethod
async def report_exception(self, exc):
'''Report an exception
:param exc: Exception
'''
raise NotImplementedError