Documentation

CustomException extends Exception
in package
implements IException

Class CustomException.

Table of Contents

Interfaces

IException
Interface IException.

Properties

$code  : int
User-defined exception code.
$message  : string
Exception message.

Methods

__construct()  : mixed
Constructor.
__toString()  : string
Magic method to return the stringized form of CustomException.

Properties

$message

Exception message.

protected string $message = 'Unknown exception'

Methods

__construct()

Constructor.

public __construct([string|null $message = null ][, int $code = 0 ]) : mixed
Parameters
$message : string|null = null
$code : int = 0

__toString()

Magic method to return the stringized form of CustomException.

public __toString() : string
Return values
string

        
On this page

Search results