MediaWiki  master
DBAccessError.php
Go to the documentation of this file.
1 <?php
22 namespace Wikimedia\Rdbms;
23 
33  public function __construct() {
34  parent::__construct( null, "Database access has been disabled." );
35  }
36 }
37 
41 class_alias( DBAccessError::class, 'DBAccessError' );
Wikimedia\Rdbms\DBAccessError
Exception class for attempted DB access @newable.
Definition: DBAccessError.php:29
Wikimedia\Rdbms\DBAccessError\__construct
__construct()
Definition: DBAccessError.php:33
Wikimedia\Rdbms
Definition: ChronologyProtector.php:24
Wikimedia\Rdbms\DBUnexpectedError
@newable
Definition: DBUnexpectedError.php:29