PHP Class ManaPHP\Exception

Inheritance: extends Exception
Show file Open project: manaphp/manaphp Class Usage Examples

Protected Properties

Property Type Description
$_bind array

Public Methods

Method Description
__construct ( string $message = '', integer | array $code, Exception $previous = null ) Exception constructor.
dump ( ) : array
getBind ( ) : array
getLastErrorMessage ( ) : string

Method Details

__construct() public method

Exception constructor.
public __construct ( string $message = '', integer | array $code, Exception $previous = null )
$message string
$code integer | array
$previous Exception

dump() public method

public dump ( ) : array
return array

getBind() public method

public getBind ( ) : array
return array

getLastErrorMessage() public static method

public static getLastErrorMessage ( ) : string
return string

Property Details

$_bind protected property

protected array $_bind
return array