MediaWiki
1.30.0
|
Database error base class. More...
Public Member Functions | |
__construct (IDatabase $db=null, $error) | |
Construct a database error. More... | |
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 | |||
) |
Construct a database error.
IDatabase | $db | Object which threw the error |
string | $error | A simple error message to be used for debugging |
Reimplemented in Wikimedia\Rdbms\DBConnectionError.
Definition at line 39 of file DBError.php.
References Wikimedia\Rdbms\DBError\$db.
IDatabase null Wikimedia\Rdbms\DBError::$db |
Definition at line 32 of file DBError.php.
Referenced by Wikimedia\Rdbms\DBConnectionError\__construct(), Wikimedia\Rdbms\DBError\__construct(), Wikimedia\Rdbms\DBExpectedError\__construct(), and Wikimedia\Rdbms\DBQueryError\__construct().