MediaWiki REL1_28
|
Public Member Functions | |
__construct (IDatabase $db=null, $error='unknown error') | |
Public Member Functions inherited from DBExpectedError | |
__construct (IDatabase $db=null, $error, array $params=[]) | |
getKey () | |
Returns the message key. | |
getParams () | |
Returns the message parameters. | |
Additional Inherited Members | |
Public Attributes inherited from DBError | |
IDatabase null | $db |
Protected Attributes inherited from DBExpectedError | |
string[] | $params |
Message parameters. | |
Definition at line 25 of file DBConnectionError.php.
DBConnectionError::__construct | ( | IDatabase | $db = null , |
$error = 'unknown error' |
|||
) |
IDatabase | $db | Object throwing the error |
string | $error | Error text |
Reimplemented from DBError.
Definition at line 30 of file DBConnectionError.php.
References DBError\$db.