MediaWiki REL1_39
|
Database error base class. More...
Public Member Functions | |
__construct (?IDatabase $db, $error, \Throwable $prev=null) | |
Construct a database error. | |
Public Attributes | |
IDatabase null | $db |
Database error base class.
Definition at line 31 of file DBError.php.
Wikimedia\Rdbms\DBError::__construct | ( | ?IDatabase | $db, |
$error, | |||
\Throwable | $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 |
\\Throwable | null | $prev | Previous throwable |
Definition at line 42 of file DBError.php.
References Wikimedia\Rdbms\DBError\$db.
IDatabase null Wikimedia\Rdbms\DBError::$db |
Definition at line 33 of file DBError.php.
Referenced by Wikimedia\Rdbms\DBError\__construct(), Wikimedia\Rdbms\DBExpectedError\__construct(), Wikimedia\Rdbms\DBTransactionError\__construct(), Wikimedia\Rdbms\DBQueryTimeoutError\__construct(), Wikimedia\Rdbms\DBQueryDisconnectedError\__construct(), Wikimedia\Rdbms\DBQueryError\__construct(), and Wikimedia\Rdbms\DBConnectionError\__construct().