MediaWiki REL1_40
|
Error thrown when a query times out. More...
Inherits Wikimedia\Rdbms\DBQueryError.
Public Member Functions | |
__construct (IDatabase $db, $error, $errno, $sql, $fname) | |
getKey () | |
Returns the message key. | |
Public Member Functions inherited from Wikimedia\Rdbms\DBQueryError | |
__construct (IDatabase $db, $error, $errno, $sql, $fname, $message=null) | |
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\DBQueryError | |
int | $errno |
string | $error |
string | $fname |
string | $sql |
Public Attributes inherited from Wikimedia\Rdbms\DBError | |
IDatabase null | $db |
Protected Attributes inherited from Wikimedia\Rdbms\DBExpectedError | |
string[] | $params |
Message parameters. | |
Error thrown when a query times out.
Definition at line 28 of file DBQueryTimeoutError.php.
Wikimedia\Rdbms\DBQueryTimeoutError::__construct | ( | IDatabase | $db, |
$error, | |||
$errno, | |||
$sql, | |||
$fname ) |
IDatabase | $db | |
string | $error | |
int | string | $errno | |
string | $sql | |
string | $fname |
Definition at line 39 of file DBQueryTimeoutError.php.
References Wikimedia\Rdbms\DBError\$db, Wikimedia\Rdbms\DBQueryError\$errno, Wikimedia\Rdbms\DBQueryError\$error, Wikimedia\Rdbms\DBQueryError\$fname, and Wikimedia\Rdbms\DBQueryError\$sql.
Wikimedia\Rdbms\DBQueryTimeoutError::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 48 of file DBQueryTimeoutError.php.