\app\framework\Component\Route\Klein\ExceptionsRoutePathCompilationException

RoutePathCompilationException

Exception used for when a route's path fails to compile

Summary

Methods
Properties
Constants
createFromRoute()
getRoute()
No public properties found
MESSAGE_FORMAT
FAILURE_MESSAGE_TITLE_FORMAT
setRoute()
$route
N/A
No private methods found
No private properties found
N/A

Constants

MESSAGE_FORMAT

MESSAGE_FORMAT

The exception message format

FAILURE_MESSAGE_TITLE_FORMAT

FAILURE_MESSAGE_TITLE_FORMAT

The extra failure message format

Properties

$route

$route : 

The route that failed to compile

Type

Methods

createFromRoute()

createFromRoute(\app\framework\Component\Route\Klein\Route  $route, \Exception|\Throwable  $previous = null) : \app\framework\Component\Route\Klein\Exceptions\RoutePathCompilationException

Create a RoutePathCompilationException from a route and an optional previous exception

TODO: Change the $previous parameter to type-hint against Throwable once PHP 5.x support is no longer necessary.

Parameters

\app\framework\Component\Route\Klein\Route $route

The route that failed to compile

\Exception|\Throwable $previous

The previous exception

Returns

\app\framework\Component\Route\Klein\Exceptions\RoutePathCompilationException