MediaWiki
1.28.0
|
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. More... | |
getParams () | |
Returns the message parameters. More... | |
Public Member Functions inherited from DBError | |
__construct (IDatabase $db=null, $error) | |
Construct a database error. More... | |
Additional Inherited Members | |
Public Attributes inherited from DBError | |
IDatabase null | $db |
Protected Attributes inherited from DBExpectedError | |
string[] | $params |
Message parameters. More... | |
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 |
Definition at line 30 of file DBConnectionError.php.
References DBError\$db.