class DiagnosticsException in Purge 8.3
Diagnostic ERROR requires cache invalidation to be halted.
Thrown by PurgersServiceInterface::invalidate after a diagnostic of type SEVERITY_ERROR has been detected, which is established after calling DiagnosticsServiceInterface::::isSystemOnFire. Errors by definition force all cache invalidation to be prevented, until the user resolved the issue.
Hierarchy
- class \Drupal\purge\Plugin\Purge\Purger\Exception\DiagnosticsException extends \Drupal\purge\Plugin\Purge\Purger\Exception\Exception
Expanded class hierarchy of DiagnosticsException
See also
\Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface::invalidate().
6 files declare their use of DiagnosticsException
- InvalidateCommand.php in modules/
purge_drush/ src/ Commands/ InvalidateCommand.php - LateRuntimeProcessor.php in modules/
purge_processor_lateruntime/ src/ EventSubscriber/ LateRuntimeProcessor.php - PurgeBlockForm.php in modules/
purge_ui/ src/ Form/ PurgeBlockForm.php - PurgersService.php in src/
Plugin/ Purge/ Purger/ PurgersService.php - purge_processor_cron.module in modules/
purge_processor_cron/ purge_processor_cron.module - Purge Cron Processor.
File
- src/
Plugin/ Purge/ Purger/ Exception/ DiagnosticsException.php, line 15
Namespace
Drupal\purge\Plugin\Purge\Purger\ExceptionView source
class DiagnosticsException extends \Exception {
}