Files

26 lines
637 B
Python
Raw Permalink Normal View History

"""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.
"""
+3
2025-11-12 17:59:37 +08:00
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
"""