public function ExceptionController::entityStorage in Apigee Edge 8
Throws a new EntityStorageException.
1 string reference to 'ExceptionController::entityStorage'
- apigee_edge_test.routing.yml in tests/
modules/ apigee_edge_test/ apigee_edge_test.routing.yml - tests/modules/apigee_edge_test/apigee_edge_test.routing.yml
File
- tests/
modules/ apigee_edge_test/ src/ Controller/ ExceptionController.php, line 34
Class
- ExceptionController
- Throw exception to test the connection error page.
Namespace
Drupal\apigee_edge_test\ControllerCode
public function entityStorage() {
try {
$this
->api();
} catch (ApiException $ex) {
throw new EntityStorageException('', 0, $ex);
}
}