Exception: SolidLoop::EnqueueError
- Inherits:
-
StandardError
- Object
- StandardError
- SolidLoop::EnqueueError
- Defined in:
- lib/solid_loop.rb
Overview
Raised when a successor job could not be enqueued (ActiveJob perform_later
returned a non-successfully_enqueued? job — e.g. a before_enqueue
callback did throw :abort). Every dispatch site runs inside a DB
transaction, so raising here rolls back the enclosing state change instead
of committing it with no successor job to carry the loop forward.