MediaWiki REL1_29
|
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=[]) | |
getKey () | |
Returns the message key. | |
getMessageObject () | |
Return a Message object for this exception.
| |
getParams () | |
Returns the message parameters. | |
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.
Wikimedia\Rdbms\DBConnectionError::__construct | ( | IDatabase | $db = null , |
$error = 'unknown error' |
|||
) |
IDatabase | $db | Object throwing the error |
string | $error | Error text |
Reimplemented from Wikimedia\Rdbms\DBError.
Definition at line 31 of file DBConnectionError.php.
References Wikimedia\Rdbms\DBError\$db.