Files
dify/api/core/trigger/errors.py
T
非法操作andautofix-ci[bot] 163062847b refactor(api): relocate trigger plugin runtime (#45966)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-11 09:43:32 +00:00

27 lines
637 B
Python

"""Exceptions shared by plugin-daemon error decoding and trigger gateways.
Keep them outside services while the SDK remains in core. TODO: Move them with
the shared plugin SDK contracts, updating the decoder and gateway imports
together and preserving the class names used by daemon error mapping.
"""
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
"""