MediaWiki
REL1_34
DBError.php
Go to the documentation of this file.
1
<?php
22
namespace
Wikimedia\Rdbms
;
23
24
use RuntimeException;
25
30
class
DBError
extends
RuntimeException {
32
public
$db
;
33
40
public
function
__construct
(
IDatabase
$db
=
null
, $error, $prev =
null
) {
41
parent::__construct( $error, 0, $prev );
42
$this->db =
$db
;
43
}
44
}
45
49
class_alias( DBError::class,
'DBError'
);
Wikimedia\Rdbms\DBError
Database error base class.
Definition
DBError.php:30
Wikimedia\Rdbms\DBError\$db
IDatabase null $db
Definition
DBError.php:32
Wikimedia\Rdbms\DBError\__construct
__construct(IDatabase $db=null, $error, $prev=null)
Construct a database error.
Definition
DBError.php:40
Wikimedia\Rdbms\IDatabase
Basic database interface for live and lazy-loaded relation database handles.
Definition
IDatabase.php:38
Wikimedia\Rdbms
Definition
ChronologyProtector.php:24
includes
libs
rdbms
exception
DBError.php
Generated on Fri Apr 5 2024 23:10:10 for MediaWiki by
1.9.8