You are here

public function ExceptionController::api in Apigee Edge 8

Throws a new ApiException.

1 call to ExceptionController::api()
ExceptionController::entityStorage in tests/modules/apigee_edge_test/src/Controller/ExceptionController.php
Throws a new EntityStorageException.
1 string reference to 'ExceptionController::api'
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 46

Class

ExceptionController
Throw exception to test the connection error page.

Namespace

Drupal\apigee_edge_test\Controller

Code

public function api() {
  throw new ApiException();
}