Movatterモバイル変換


[0]ホーム

URL:


MediaWiki master
DBQueryError.php
Go to the documentation of this file.
1<?php
6namespaceWikimedia\Rdbms;
7
12classDBQueryErrorextendsDBExpectedError {
14public$error;
16public$errno;
18public$sql;
20public$fname;
21
31publicfunction__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
DefinitionDBError.php:24
Wikimedia\Rdbms\DBExpectedError
Base class for the more common types of database errors.
DefinitionDBExpectedError.php:18
Wikimedia\Rdbms\DBQueryError
DefinitionDBQueryError.php:12
Wikimedia\Rdbms\DBQueryError\$errno
int $errno
DefinitionDBQueryError.php:16
Wikimedia\Rdbms\DBQueryError\$fname
string $fname
DefinitionDBQueryError.php:20
Wikimedia\Rdbms\DBQueryError\$sql
string $sql
DefinitionDBQueryError.php:18
Wikimedia\Rdbms\DBQueryError\__construct
__construct(IDatabase $db, $error, $errno, $sql, $fname, $message=null)
DefinitionDBQueryError.php:31
Wikimedia\Rdbms\DBQueryError\$error
string $error
DefinitionDBQueryError.php:14
Wikimedia\Rdbms\IDatabase
Interface to a relational database.
DefinitionIDatabase.php:31
Wikimedia\Rdbms
DefinitionChangedTablesTracker.php:3

[8]ページ先頭

©2009-2025 Movatter.jp