From c0d38817d48a7f2ad619ee7edfb889ae29d48a5b Mon Sep 17 00:00:00 2001 From: Cora Cordes Date: Sat, 20 Nov 2021 16:38:46 +0100 Subject: [PATCH] Added on_error update event ABC --- src/modules_core/abc/events/on_error_abc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules_core/abc/events/on_error_abc.py b/src/modules_core/abc/events/on_error_abc.py index 26350f4..ff4badb 100644 --- a/src/modules_core/abc/events/on_error_abc.py +++ b/src/modules_core/abc/events/on_error_abc.py @@ -5,3 +5,6 @@ class OnErrorABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_error(self, event: str, *args, **kwargs): pass \ No newline at end of file