| feat(callback): add AbortError that propagates out of trigger()
AbortError inherits ExecutionError (BaseError hierarchy) and uses
StatusCode.CALLBACK_EXECUTION_ABORTED (110600). When raised in a callback:
- Stops further callback execution
- Propagates out of trigger(); re-raises cause if provided, else re-raises AbortError
- Records metrics and circuit-breaker failure (consistent with error semantics)
Plain exceptions retain original behaviour: logged and swallowed so subsequent
callbacks continue to execute (removed the erroneous raise from that block).
Refs: #432
| 2 个月前 |