MediaWiki REL1_35
Wikimedia\Rdbms\DBQueryDisconnectedError Class Reference

@newable More...

Inheritance diagram for Wikimedia\Rdbms\DBQueryDisconnectedError:
Collaboration diagram for Wikimedia\Rdbms\DBQueryDisconnectedError:

Public Member Functions

 __construct (IDatabase $db, $error, $errno, $sql, $fname, $message=null)
 Stable to call.
 
- Public Member Functions inherited from Wikimedia\Rdbms\DBExpectedError
 __construct (?IDatabase $db, $error, array $params=[], \Throwable $prev=null)
 Stable to call.
 
 getKey ()
 Returns the message key.
 
 getParams ()
 Returns the message parameters.
 
- Public Member Functions inherited from Wikimedia\Rdbms\DBError
 __construct (?IDatabase $db, $error, \Throwable $prev=null)
 Construct a database error Stable to call.
 

Additional Inherited Members

- Public Attributes inherited from Wikimedia\Rdbms\DBQueryError
int $errno
 
string $error
 
string $fname
 
string $sql
 
- Public Attributes inherited from Wikimedia\Rdbms\DBError
IDatabase null $db
 
- Protected Attributes inherited from Wikimedia\Rdbms\DBExpectedError
string[] $params
 Message parameters.
 

Detailed Description

@newable

Since
1.34

Definition at line 29 of file DBQueryDisconnectedError.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Rdbms\DBQueryDisconnectedError::__construct ( IDatabase  $db,
  $error,
  $errno,
  $sql,
  $fname,
  $message = null 
)

Stable to call.

Parameters
IDatabase$db
string$error
int | string$errno
string$sql
string$fname
string | null$messageOptional message, intended for subclases (optional)

Reimplemented from Wikimedia\Rdbms\DBQueryError.

Definition at line 40 of file DBQueryDisconnectedError.php.

References Wikimedia\Rdbms\DBError\$db, Wikimedia\Rdbms\DBQueryError\$errno, Wikimedia\Rdbms\DBQueryError\$error, Wikimedia\Rdbms\DBQueryError\$fname, and Wikimedia\Rdbms\DBQueryError\$sql.


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