Movatterモバイル変換
[0]
ホーム
URL:
画像なし
夜間モード
MediaWiki
master
DBQueryError.php
Go to the documentation of this file.
1
<?php
6
namespace
Wikimedia\Rdbms
;
7
12
class
DBQueryError
extends
DBExpectedError
{
14
public
$error
;
16
public
$errno
;
18
public
$sql
;
20
public
$fname
;
21
31
public
function
__construct
(
IDatabase
$db
,
$error
,
$errno
,
$sql
,
$fname
, $message =
null
) {
32
$message ??=
"Error $errno: $error\n"
.
33
"Function: $fname\n"
.
34
"Query: $sql\n"
;
35
36
parent::__construct(
$db
, $message );
37
38
$this->error =
$error
;
39
$this->errno =
$errno
;
40
$this->sql =
$sql
;
41
$this->fname =
$fname
;
42
}
43
}
Wikimedia\Rdbms\DBError\$db
IDatabase null $db
Definition
DBError.php:24
Wikimedia\Rdbms\DBExpectedError
Base class for the more common types of database errors.
Definition
DBExpectedError.php:18
Wikimedia\Rdbms\DBQueryError
Definition
DBQueryError.php:12
Wikimedia\Rdbms\DBQueryError\$errno
int $errno
Definition
DBQueryError.php:16
Wikimedia\Rdbms\DBQueryError\$fname
string $fname
Definition
DBQueryError.php:20
Wikimedia\Rdbms\DBQueryError\$sql
string $sql
Definition
DBQueryError.php:18
Wikimedia\Rdbms\DBQueryError\__construct
__construct(IDatabase $db, $error, $errno, $sql, $fname, $message=null)
Definition
DBQueryError.php:31
Wikimedia\Rdbms\DBQueryError\$error
string $error
Definition
DBQueryError.php:14
Wikimedia\Rdbms\IDatabase
Interface to a relational database.
Definition
IDatabase.php:31
Wikimedia\Rdbms
Definition
ChangedTablesTracker.php:3
includes
libs
Rdbms
Exception
DBQueryError.php
Generated on Sat Nov 29 2025 16:24:31 for MediaWiki by
1.10.0
[8]
ページ先頭
©2009-2025
Movatter.jp