MediaWiki  master
Wikimedia\Rdbms\DBQueryTimeoutError Class Reference

Error thrown when a query times out. More...

Inheritance diagram for Wikimedia\Rdbms\DBQueryTimeoutError:
Collaboration diagram for Wikimedia\Rdbms\DBQueryTimeoutError:

Public Member Functions

 __construct (IDatabase $db, $error, $errno, $sql, $fname)
- 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)
 getKey ()
 Returns the message key. More...
 getParams ()
 Returns the message parameters. More...
- Public Member Functions inherited from Wikimedia\Rdbms\DBError
 __construct (?IDatabase $db, $error, \Throwable $prev=null)
 Construct a database error. More...

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. More...

Detailed Description

Error thrown when a query times out.


Definition at line 30 of file DBQueryTimeoutError.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Rdbms\DBQueryTimeoutError::__construct ( IDatabase  $db,
Stability: stable
to call
int | string$errno

Definition at line 41 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.

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