class Error extends Exception (View source)

Wrapper for PHP errors.

Properties

protected array $serializableTrace from Exception

Methods

__construct($message, $code, string $file, int $line, Exception $previous = null)

Constructor.

array
getSerializableTrace()

Returns the serializable trace (without 'args').

from Exception
string
__toString()

No description

from Exception
__sleep()

No description

from Exception

Details

__construct($message, $code, string $file, int $line, Exception $previous = null)

Constructor.

Parameters

$message
$code
string $file
int $line
Exception $previous

array getSerializableTrace()

Returns the serializable trace (without 'args').

Return Value

array

string __toString()

Return Value

string

__sleep()