40 parent::__construct(
$db, $error );
45 return 'databaseerror-text';
57 return Message::newFromSpecifier( $this );
61class_alias( DBExpectedError::class,
'DBExpectedError' );
The Message class provides methods which fulfil two basic services:
Interface for MediaWiki-localized exceptions.