modules/acm_exception/src/RouteExceptionHandler.php
public function message(RouteException $e) {
    $message = $this->getConfig('message', $e);
    if (!empty($message) && PHP_SAPI !== 'cli') {
      drupal_set_message($message, 'error');
    }
  }
public function message(RouteException $e) {
    $message = $this->getConfig('message', $e);
    if (!empty($message) && PHP_SAPI !== 'cli') {
      drupal_set_message($message, 'error');
    }
  }
public function message ( RouteException $ e ) { $ message = $ this -> getConfig ( 'message' , $ e ) ; if ( ! empty ( $ message ) && PHP_SAPI !== 'cli' ) { drupal_set_message ( $ message , 'error' ) ; } }
Present the error message for this RouteException to the user.

@param \Drupal\acm\Connector\RouteException $e
The RouteException that was thrown.
Present the error message for this RouteException to the user .