Oihana PHP System

Error500 extends Exception uses ExceptionTrait

Throw an 'internal server error' (500).

Tags
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Methods

__construct()  : mixed
Creates a new Error500 instance.
__toString()  : string
Returns a string representation of the exception

Methods

__construct()

Creates a new Error500 instance.

public __construct([string $message = '' ][, int $code = 500 ][, Throwable|null $notFound = null ]) : mixed
Parameters
$message : string = ''
$code : int = 500
$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