MediaWiki REL1_35
|
@newable More...
Public Member Functions | |
__construct (IDatabase $db=null, $error='unknown error') | |
Stable to call. | |
Public Member Functions inherited from Wikimedia\Rdbms\DBExpectedError | |
__construct (?IDatabase $db, $error, array $params=[], \Throwable $prev=null) | |
Stable to call. | |
getKey () | |
Returns the message key. | |
getParams () | |
Returns the message parameters. | |
Public Member Functions inherited from Wikimedia\Rdbms\DBError | |
__construct (?IDatabase $db, $error, \Throwable $prev=null) | |
Construct a database error Stable to call. | |
Additional Inherited Members | |
Public Attributes inherited from Wikimedia\Rdbms\DBError | |
IDatabase null | $db |
Protected Attributes inherited from Wikimedia\Rdbms\DBExpectedError | |
string[] | $params |
Message parameters. | |
@newable
Definition at line 27 of file DBConnectionError.php.
Wikimedia\Rdbms\DBConnectionError::__construct | ( | IDatabase | $db = null , |
$error = 'unknown error' |
|||
) |
Stable to call.
IDatabase | null | $db | Object throwing the error |
string | $error | Error text |
Definition at line 33 of file DBConnectionError.php.
References Wikimedia\Rdbms\DBError\$db.