Class OwpException

package IOwpException

 Methods

OwpException constructor.

__construct(null $message = null, integer $code = 0
method Class constructor
inherited_from \IOwpException::__construct()

Parameters

$message

null

$code

integer

__toString

__toString() : string
method Return a string response.
inherited_from \IOwpException::__toString()

Returns

string

 Properties

 

User-defined exception code

$code : integer

Default

0
 

Source filename of exception

$file : string

Default

 

Source line of exception

$line : string

Default

 

Exception message

$message : string

Default

'Unknown exception'
 

Unknown

$string : string

Default

 

Unknown

$trace : string

Default