Laravel's ThrottlesExceptions Gets Smarter: Introducing failWhen()
Laravel's ThrottlesExceptions middleware just gained a powerful new companion with the failWhen() method. Now you can mark jobs as failed instead of just deleting them, giving you better control over job chain behavior.
The Gap Between Deleting and Failing Jobs
Previously, the ThrottlesExceptions middleware offered the deleteWhen() method