mirror of
https://github.com/langgenius/dify.git
synced 2026-02-06 19:12:07 +08:00
chore: better exception handling
This commit is contained in:
parent
b1ffd2ef2b
commit
11c9219848
@ -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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user