modules/acm_exception/src/RouteExceptionHandler.php
public function getRedirect(RouteException $e) {
    $redirect = $this->getConfig('redirect', $e);
    if (empty($redirect)) {
      $redirect = '<current>';
    }
    return Url::fromUri("internal:/{$redirect}")->toString();
  }
public function getRedirect(RouteException $e) {
    $redirect = $this->getConfig('redirect', $e);
    if (empty($redirect)) {
      $redirect = '<current>';
    }
    return Url::fromUri("internal:/{$redirect}")->toString();
  }
public function getRedirect ( RouteException $ e ) { $ redirect = $ this -> getConfig ( 'redirect' , $ e ) ; if ( empty ( $ redirect ) ) { $ redirect = '<current>' ; } return Url :: fromUri ( "internal:/{$redirect}" ) -> toString ( ) ; }
Get the exception redirect from storage.

@param \Drupal\acm\Connector\RouteException $e
The RouteException that was thrown.

@return string
The redirect to perform.
Get the exception redirect from storage .