Error404 extends Exception uses ExceptionTrait
Throw an 'not found error' (404).
Tags
Table of Contents
Methods
- __construct() : mixed
- Creates a new Error404 instance.
- __toString() : string
- Returns a string representation of the exception
Methods
__construct()
Creates a new Error404 instance.
public
__construct([string $message = '' ][, int $code = 404 ][, Throwable|null $notFound = null ]) : mixed
Parameters
- $message : string = ''
- $code : int = 404
- $notFound : Throwable|null = null
__toString()
Returns a string representation of the exception
public
__toString() : string
Tags
Return values
string —The string representation of the object.