mirror of https://github.com/langgenius/dify.git
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