Inherits MWException.
Inherited by DBConnectionError, DBQueryError, and DBUnexpectedError.
Public Member Functions | |
| __construct (Database &$db, $error) | |
| Construct a database error. | |
Public Attributes | |
| $db | |
Definition at line 2497 of file Database.php.
| DBError::__construct | ( | Database &$ | db, | |
| $ | error | |||
| ) |
Construct a database error.
| $db | Database object which threw the error | |
| $error | A simple error message to be used for debugging |
Reimplemented in DBConnectionError.
Definition at line 2505 of file Database.php.
References $error.
| DBError::$db |
Definition at line 2498 of file Database.php.
1.5.9