class RetryScheduledTaskException in Webform Scheduled Tasks 8.2
An exception to throw is a tasks should continue to execute.
This exception can be thrown when errors occur if the task should be queued and retried after another interval has passed. This does not immediately or on the next cron-run attempt the job again, it the task runner will wait the configured duration before re-attempting.
Hierarchy
- class \Drupal\webform_scheduled_tasks\Exception\RetryScheduledTaskException extends \Drupal\webform_scheduled_tasks\Exception\Exception
Expanded class hierarchy of RetryScheduledTaskException
3 files declare their use of RetryScheduledTaskException
- RetryExceptionTask.php in tests/
modules/ webform_scheduled_tasks_test_types/ src/ Plugin/ WebformScheduledTasks/ Task/ RetryExceptionTask.php - TaskRunner.php in src/
TaskRunner.php - TaskRunnerTest.php in tests/
src/ Unit/ TaskRunnerTest.php
File
- src/
Exception/ RetryScheduledTaskException.php, line 13
Namespace
Drupal\webform_scheduled_tasks\ExceptionView source
class RetryScheduledTaskException extends \Exception {
}