MESSAGE_FORMAT
MESSAGE_FORMAT
The exception message format
RoutePathCompilationException
Exception used for when a route's path fails to compile
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.
\app\framework\Component\Route\Klein\Route | $route | The route that failed to compile |
\Exception|\Throwable | $previous | The previous exception |
getRoute() : \app\framework\Component\Route\Klein\Route
Gets the value of route
setRoute(\app\framework\Component\Route\Klein\Route $route) : \app\framework\Component\Route\Klein\Exceptions\RoutePathCompilationException
Sets the value of route
\app\framework\Component\Route\Klein\Route | $route |