MediaWiki REL1_35
|
Database error base class @newable Stable to extend. More...
Public Member Functions | |
__construct (?IDatabase $db, $error, \Throwable $prev=null) | |
Construct a database error Stable to call. | |
Public Attributes | |
IDatabase null | $db |
Database error base class @newable Stable to extend.
Definition at line 32 of file DBError.php.
Wikimedia\Rdbms\DBError::__construct | ( | ?IDatabase | $db, |
$error, | |||
\Throwable | $prev = null |
||
) |
Construct a database error Stable to call.
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 43 of file DBError.php.
References Wikimedia\Rdbms\DBError\$db.
IDatabase null Wikimedia\Rdbms\DBError::$db |
Definition at line 34 of file DBError.php.
Referenced by Wikimedia\Rdbms\DBError\__construct(), Wikimedia\Rdbms\DBExpectedError\__construct(), Wikimedia\Rdbms\DBQueryTimeoutError\__construct(), Wikimedia\Rdbms\DBQueryDisconnectedError\__construct(), Wikimedia\Rdbms\DBQueryError\__construct(), and Wikimedia\Rdbms\DBConnectionError\__construct().