function BigPipeTestController::exception
Same name in other branches
- 9 core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php \Drupal\big_pipe_test\BigPipeTestController::exception()
- 8.9.x core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php \Drupal\big_pipe_test\BigPipeTestController::exception()
- 10 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 178
Class
- BigPipeTestController
- Returns responses for Big Pipe routes.
Namespace
Drupal\big_pipe_testCode
public static function exception() {
throw new \Exception('You are not allowed to say llamas are not cool!');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.