Error403 extends Exception uses ExceptionTrait
Throw an 'Forbidden error' (403).
Tags
Table of Contents
Methods
- __construct() : mixed
- Creates a new Error403 instance.
- __toString() : string
- Returns a string representation of the exception
Methods
__construct()
Creates a new Error403 instance.
public
__construct([string $message = '' ][, int $code = 403 ][, Throwable|null $notFound = null ]) : mixed
Parameters
- $message : string = ''
- $code : int = 403
- $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.