public static function BigPipeTestController::exception in Drupal 9
Same name and namespace in other branches
- 8 core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php \Drupal\big_pipe_test\BigPipeTestController::exception()
#lazy_builder callback; throws exception.
Throws
\Exception
File
- core/
modules/ big_pipe/ tests/ modules/ big_pipe_test/ src/ BigPipeTestController.php, line 119
Class
Namespace
Drupal\big_pipe_testCode
public static function exception() {
throw new \Exception('You are not allowed to say llamas are not cool!');
}