MediaWiki master
Wikimedia\Rdbms\DBTransactionSizeError Class Reference

Inherits Wikimedia\Rdbms\DBTransactionError.

Collaboration diagram for Wikimedia\Rdbms\DBTransactionSizeError:

Public Member Functions

 getKey ()
 Returns the message key.
- Public Member Functions inherited from Wikimedia\Rdbms\DBTransactionError
 __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)
 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.

Detailed Description

Stability: newable

Definition at line 26 of file DBTransactionSizeError.php.

Member Function Documentation

◆ getKey()

Wikimedia\Rdbms\DBTransactionSizeError::getKey ( )

Returns the message key.

If a list of multiple possible keys was supplied to the constructor, this method may return any of these keys. After the message has been fetched, this method will return the key that was actually used to fetch the message.


Reimplemented from Wikimedia\Rdbms\DBExpectedError.

Definition at line 27 of file DBTransactionSizeError.php.

The documentation for this class was generated from the following file: