MediaWiki REL1_39
|
Public Member Functions | |
__construct (?IDatabase $db, $error, array $params=[], \Throwable $prev=null, $errorParams=[]) | |
Public Member Functions inherited from Wikimedia\Rdbms\DBExpectedError | |
__construct (?IDatabase $db, $error, array $params=[], \Throwable $prev=null) | |
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. | |
Additional Inherited Members | |
Public Attributes inherited from Wikimedia\Rdbms\DBError | |
IDatabase null | $db |
Protected Attributes inherited from Wikimedia\Rdbms\DBExpectedError | |
string[] | $params |
Message parameters. | |
Wikimedia\Rdbms\DBTransactionError::__construct | ( | ?IDatabase | $db, |
$error, | |||
array | $params = [], | ||
\Throwable | $prev = null, | ||
$errorParams = [] ) |
IDatabase | null | $db | |
string | $error | |
array | $params | parameters to be passed down to the i18n message |
\\Throwable | null | $prev | |
array | $errorParams | PSR-3 message context |
Definition at line 42 of file DBTransactionError.php.
References Wikimedia\Rdbms\DBError\$db, and Wikimedia\Rdbms\DBExpectedError\$params.