MediaWiki
1.34.0
DBQueryTimeoutError.php
Go to the documentation of this file.
1
<?php
22
namespace
Wikimedia\Rdbms
;
23
29
class
DBQueryTimeoutError
extends
DBQueryError
{
30
public
function
__construct
(
IDatabase
$db
,
$error
,
$errno
,
$sql
,
$fname
) {
31
$message =
"A database query timeout has occurred. \n"
.
32
"Query: $sql\n"
.
33
"Function: $fname\n"
.
34
"Error: $errno $error\n"
;
35
36
parent::__construct(
$db
,
$error
,
$errno
,
$sql
,
$fname
, $message );
37
}
38
}
Wikimedia\Rdbms\DBError\$db
IDatabase null $db
Definition:
DBError.php:32
Wikimedia\Rdbms\DBQueryError\$errno
int $errno
Definition:
DBQueryError.php:31
Wikimedia\Rdbms
Definition:
ChronologyProtector.php:24
Wikimedia\Rdbms\DBQueryError\$fname
string $fname
Definition:
DBQueryError.php:35
Wikimedia\Rdbms\IDatabase
Basic database interface for live and lazy-loaded relation database handles.
Definition:
IDatabase.php:38
Wikimedia\Rdbms\DBQueryTimeoutError
Error thrown when a query times out.
Definition:
DBQueryTimeoutError.php:29
Wikimedia\Rdbms\DBQueryError
Definition:
DBQueryError.php:27
Wikimedia\Rdbms\DBQueryTimeoutError\__construct
__construct(IDatabase $db, $error, $errno, $sql, $fname)
Definition:
DBQueryTimeoutError.php:30
Wikimedia\Rdbms\DBQueryError\$sql
string $sql
Definition:
DBQueryError.php:33
Wikimedia\Rdbms\DBQueryError\$error
string $error
Definition:
DBQueryError.php:29
includes
libs
rdbms
exception
DBQueryTimeoutError.php
Generated on Thu Dec 19 2019 14:54:32 for MediaWiki by
1.8.16