Наследование: extends Exceptio\Exception
 public function register()
 {
     app(QueueManager::class)->failing(function (JobFailed $event) {
         $notifiable = app(config('laravel-failed-job-monitor.notifiable'));
         $notification = app(config('laravel-failed-job-monitor.notification'))->setEvent($event);
         if (!$this->isValidNotificationClass($notification)) {
             throw InvalidConfiguration::notificationClassInvalid(get_class($notification));
         }
         if ($this->shouldSendNotification($notification)) {
             $notifiable->notify($notification);
         }
     });
 }