MediaWiki
fundraising/REL1_35
DBQueryTimeoutError.php
Go to the documentation of this file.
1
<?php
22
namespace
Wikimedia\Rdbms
;
23
30
class
DBQueryTimeoutError
extends
DBQueryError
{
31
41
public
function
__construct
(
IDatabase
$db
,
$error
,
$errno
,
$sql
,
$fname
) {
42
$message =
"A database query timeout has occurred. \n"
.
43
"Query: $sql\n"
.
44
"Function: $fname\n"
.
45
"Error: $errno $error\n"
;
46
47
parent::__construct(
$db
,
$error
,
$errno
,
$sql
,
$fname
, $message );
48
}
49
}
Wikimedia\Rdbms\DBError\$db
IDatabase null $db
Definition
DBError.php:34
Wikimedia\Rdbms\DBQueryError
@newable Stable to extend
Definition
DBQueryError.php:29
Wikimedia\Rdbms\DBQueryError\$errno
int $errno
Definition
DBQueryError.php:33
Wikimedia\Rdbms\DBQueryError\$fname
string $fname
Definition
DBQueryError.php:37
Wikimedia\Rdbms\DBQueryError\$sql
string $sql
Definition
DBQueryError.php:35
Wikimedia\Rdbms\DBQueryError\$error
string $error
Definition
DBQueryError.php:31
Wikimedia\Rdbms\DBQueryTimeoutError
Error thrown when a query times out.
Definition
DBQueryTimeoutError.php:30
Wikimedia\Rdbms\DBQueryTimeoutError\__construct
__construct(IDatabase $db, $error, $errno, $sql, $fname)
Stable to call.
Definition
DBQueryTimeoutError.php:41
Wikimedia\Rdbms\IDatabase
Basic database interface for live and lazy-loaded relation database handles.
Definition
IDatabase.php:38
Wikimedia\Rdbms
Definition
ChronologyProtector.php:24
includes
libs
rdbms
exception
DBQueryTimeoutError.php
Generated on Mon Nov 25 2024 16:15:08 for MediaWiki by
1.10.0