MediaWiki
1.42.0
DBQueryDisconnectedError.php
Go to the documentation of this file.
1
<?php
20
namespace
Wikimedia\Rdbms
;
21
27
class
DBQueryDisconnectedError
extends
DBQueryError
{
28
38
public
function
__construct
(
IDatabase
$db
,
$error
,
$errno
,
$sql
,
$fname
, $message =
null
) {
39
if
( $message ===
null
) {
40
$message =
"A connection error occurred during a query. \n"
.
41
"Query: $sql\n"
.
42
"Function: $fname\n"
.
43
"Error: $errno $error\n"
;
44
}
45
46
parent::__construct(
$db
,
$error
,
$errno
,
$sql
,
$fname
, $message );
47
}
48
}
Wikimedia\Rdbms\DBError\$db
IDatabase null $db
Definition
DBError.php:38
Wikimedia\Rdbms\DBQueryDisconnectedError
Definition
DBQueryDisconnectedError.php:27
Wikimedia\Rdbms\DBQueryDisconnectedError\__construct
__construct(IDatabase $db, $error, $errno, $sql, $fname, $message=null)
Definition
DBQueryDisconnectedError.php:38
Wikimedia\Rdbms\DBQueryError
Definition
DBQueryError.php:26
Wikimedia\Rdbms\DBQueryError\$errno
int $errno
Definition
DBQueryError.php:30
Wikimedia\Rdbms\DBQueryError\$fname
string $fname
Definition
DBQueryError.php:34
Wikimedia\Rdbms\DBQueryError\$sql
string $sql
Definition
DBQueryError.php:32
Wikimedia\Rdbms\DBQueryError\$error
string $error
Definition
DBQueryError.php:28
Wikimedia\Rdbms\IDatabase
Basic database interface for live and lazy-loaded relation database handles.
Definition
IDatabase.php:36
Wikimedia\Rdbms
Definition
ChangedTablesTracker.php:3
includes
libs
rdbms
exception
DBQueryDisconnectedError.php
Generated on Thu Jun 13 2024 13:48:45 for MediaWiki by
1.10.0