chore: better exception handling

This commit is contained in:
Yeuoly 2025-10-18 19:15:09 +08:00
parent b1ffd2ef2b
commit 11c9219848
1 changed files with 5 additions and 3 deletions

View File

@ -9,9 +9,11 @@ class TriggerPluginInvokeError(PluginInvokeError):
pass
class TriggerInvokeError(Exception):
class TriggerInvokeError(PluginInvokeError):
pass
class TriggerIgnoreEventError(TriggerInvokeError):
pass
class EventIgnoreError(TriggerInvokeError):
"""
Trigger event ignore error
"""