DBException::__construct
The DBException constructor is responsible for initialising a new
database exception object.
Synopsis
uses('db');
public function DBException::__construct($errCode, $errMsg, $query)
Description
The constructor will automatically populate the DBException
instance's properties and generate a complete exception message which is
passed along with $errCode to Exception::__construct.
Parameters
| Name | Direction | Type | Description |
|---|---|---|---|
$errCode
| |||
$errMsg
| |||
$query
|