Files
Harry 1fa18bfd1c refactor(trigger): update trigger error handling and response types
- Renamed `WebhookValidationError` to `TriggerValidationError` for consistency in error handling across trigger operations.
- Updated references to the new `TriggerValidationError` in the GitHub provider and trigger interfaces.
- Enhanced the `TriggerProvider` class to raise the new validation error for webhook signature issues.
- Adjusted the `IssueCommentTrigger` to return the correct event response type.
- Improved type hints and imports in various modules for better clarity and organization.
2025-09-03 14:04:33 +08:00

4 lines
198 B
Python

from .trigger import SubscriptionError, TriggerDispatchError, TriggerError, TriggerValidationError
__all__ = ["SubscriptionError", "TriggerDispatchError", "TriggerError", "TriggerValidationError"]