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