RouteNotFoundException

Extends \InvalidArgumentException

Exception class defining an error for a missing route

since

3.8.0

Methods

__construct

Constructor

__construct(string $message = '', integer $code = 404, \Exception $previous = null) 
since

3.8.0

Arguments

$message

stringThe Exception message to throw.

$code

integerThe Exception code.

$previous

\ExceptionThe previous exception used for the exception chaining.