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)
 Stable to call. More...
 
- Public Member Functions inherited from Wikimedia\Rdbms\DBQueryError
 __construct (IDatabase $db, $error, $errno, $sql, $fname, $message=null)
 Stable to call. More...
 
- Public Member Functions inherited from Wikimedia\Rdbms\DBExpectedError
 __construct (?IDatabase $db, $error, array $params=[], \Throwable $prev=null)
 Stable to call. More...
 
 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 Stable to call. 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.

@newable

Definition at line 30 of file DBQueryTimeoutError.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Rdbms\DBQueryTimeoutError::__construct ( IDatabase  $db,
  $error,
  $errno,
  $sql,
  $fname 
)

Stable to call.

Parameters
IDatabase$db
string$error
int | string$errno
string$sql
string$fname

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: