dify
This commit is contained in:
19
dify/api/core/trigger/errors.py
Normal file
19
dify/api/core/trigger/errors.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from core.plugin.impl.exc import PluginInvokeError
|
||||
|
||||
|
||||
class TriggerProviderCredentialValidationError(ValueError):
|
||||
pass
|
||||
|
||||
|
||||
class TriggerPluginInvokeError(PluginInvokeError):
|
||||
pass
|
||||
|
||||
|
||||
class TriggerInvokeError(PluginInvokeError):
|
||||
pass
|
||||
|
||||
|
||||
class EventIgnoreError(TriggerInvokeError):
|
||||
"""
|
||||
Trigger event ignore error
|
||||
"""
|
||||
Reference in New Issue
Block a user