MediaWiki  1.28.0
DBConnectionError Class Reference
Inheritance diagram for DBConnectionError:
Collaboration diagram for DBConnectionError:

Public Member Functions

 __construct (IDatabase $db=null, $error= 'unknown error')
 
- Public Member Functions inherited from DBExpectedError
 __construct (IDatabase $db=null, $error, array $params=[])
 
 getKey ()
 Returns the message key. More...
 
 getParams ()
 Returns the message parameters. More...
 
- Public Member Functions inherited from DBError
 __construct (IDatabase $db=null, $error)
 Construct a database error. More...
 

Additional Inherited Members

- Public Attributes inherited from DBError
IDatabase null $db
 
- Protected Attributes inherited from DBExpectedError
string[] $params
 Message parameters. More...
 

Detailed Description

Definition at line 25 of file DBConnectionError.php.

Constructor & Destructor Documentation

DBConnectionError::__construct ( IDatabase  $db = null,
  $error = 'unknown error' 
)
Parameters
IDatabase$dbObject throwing the error
string$errorError text

Definition at line 30 of file DBConnectionError.php.

References DBError\$db.


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