You are here

public static function EdgeExceptionSubscriber::getSubscribedEvents in Apigee Edge 8

File

src/EventSubscriber/EdgeExceptionSubscriber.php, line 155

Class

EdgeExceptionSubscriber
Handles uncaught ApiExceptions.

Namespace

Drupal\apigee_edge\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::EXCEPTION][] = [
    'onException',
    static::getPriority(),
  ];
  return $events;
}