MediaWiki REL1_34
|
Database error base class. More...
Public Member Functions | |
__construct (IDatabase $db=null, $error, $prev=null) | |
Construct a database error. | |
Public Attributes | |
IDatabase null | $db |
Database error base class.
Definition at line 30 of file DBError.php.
Wikimedia\Rdbms\DBError::__construct | ( | IDatabase | $db = null , |
$error, | |||
$prev = null |
|||
) |
Construct a database error.
IDatabase | null | $db | Object which threw the error |
string | $error | A simple error message to be used for debugging |
\\Exception | \\Throwable | null | $prev | Previous exception |
Definition at line 40 of file DBError.php.
References Wikimedia\Rdbms\DBError\$db.
IDatabase null Wikimedia\Rdbms\DBError::$db |