MediaWiki  1.30.0
Wikimedia\Rdbms\DBQueryError Class Reference
Inheritance diagram for Wikimedia\Rdbms\DBQueryError:
Collaboration diagram for Wikimedia\Rdbms\DBQueryError:

Public Member Functions

 __construct (IDatabase $db, $error, $errno, $sql, $fname)
 
- Public Member Functions inherited from Wikimedia\Rdbms\DBExpectedError
 __construct (IDatabase $db=null, $error, array $params=[])
 
 getKey ()
 Returns the message key. More...
 
 getMessageObject ()
 @inheritDoc More...
 
 getParams ()
 Returns the message parameters. More...
 
- Public Member Functions inherited from Wikimedia\Rdbms\DBError
 __construct (IDatabase $db=null, $error)
 Construct a database error. More...
 

Public Attributes

int $errno
 
string $error
 
string $fname
 
string $sql
 
- Public Attributes inherited from Wikimedia\Rdbms\DBError
IDatabase null $db
 

Additional Inherited Members

- Protected Attributes inherited from Wikimedia\Rdbms\DBExpectedError
string[] $params
 Message parameters. More...
 

Detailed Description

Definition at line 27 of file DBQueryError.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Rdbms\DBQueryError::__construct ( IDatabase  $db,
  $error,
  $errno,
  $sql,
  $fname 
)

Member Data Documentation

◆ $errno

int Wikimedia\Rdbms\DBQueryError::$errno

Definition at line 31 of file DBQueryError.php.

Referenced by Wikimedia\Rdbms\DBQueryError\__construct().

◆ $error

string Wikimedia\Rdbms\DBQueryError::$error

Definition at line 29 of file DBQueryError.php.

Referenced by Wikimedia\Rdbms\DBQueryError\__construct().

◆ $fname

string Wikimedia\Rdbms\DBQueryError::$fname

Definition at line 35 of file DBQueryError.php.

Referenced by Wikimedia\Rdbms\DBQueryError\__construct().

◆ $sql

string Wikimedia\Rdbms\DBQueryError::$sql

Definition at line 33 of file DBQueryError.php.

Referenced by Wikimedia\Rdbms\DBQueryError\__construct().


The documentation for this class was generated from the following file: