MediaWiki REL1_33
|
Public Member Functions | |
__construct (IDatabase $db=null, $error='unknown error') | |
Public Member Functions inherited from Wikimedia\Rdbms\DBExpectedError | |
__construct (IDatabase $db=null, $error, array $params=[], $prev=null) | |
getKey () | |
Returns the message key. | |
getParams () | |
Returns the message parameters. | |
Public Member Functions inherited from Wikimedia\Rdbms\DBError | |
__construct (IDatabase $db=null, $error, $prev=null) | |
Construct a database error. | |
Additional Inherited Members | |
Public Attributes inherited from Wikimedia\Rdbms\DBError | |
IDatabase null | $db |
Protected Attributes inherited from Wikimedia\Rdbms\DBExpectedError | |
string[] | $params |
Message parameters. | |
Definition at line 26 of file DBConnectionError.php.
IDatabase | null | $db | Object throwing the error |
string | $error | Error text |
Definition at line 31 of file DBConnectionError.php.
References Wikimedia\Rdbms\DBError\$db, and and().