releasenotes/notes/callbacksmanager-cancellable-events-966d76925db919a8.yaml
raw| 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | ``CallbacksManager`` can now subscribe cancellable events. By default, |
| 5 | only ``before_`` and ``precommit_`` events, in case of error, can raise a |
| 6 | ``CallbackFailure`` exception. Now, if the event is subscribed with |
| 7 | the flag ``cancellable`` enabled, the ``publish`` method will raise this |
| 8 | exception if the callback fails and returns an error. |