code: protected function exceptions(\Exception $exception, $uri)
      {
          $interface = 'Phroute\Phroute\Exception\HttpRouteNotFoundException';
  
          $message = (string) $exception->getMessage();
  
          is_a($exception, $interface) && $message = 'Route "' . $uri . '" not found';
  
          throw new \UnexpectedValueException((string) $message);
      }
docs: Returns exceptions based on catched error.
  
  @param \Exception $exception
  @param string     $uri
  
  @throws \UnexpectedValueException