Oihana PHP System

Error404 extends Exception uses ExceptionTrait

Throw an 'not found error' (404).

Tags
author

Marc Alcaraz (ekameleon)

since
1.0.0

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
magic
Return values
string

The string representation of the object.


        
On this page

Search results