/**
* Show an error when a user tries to do something they do not have the necessary
* permissions for.
+ * @ingroup Exception
*/
class PermissionsError extends ErrorPageError {
public $permission;
/**
* Show an error when the wiki is locked/read-only and the user tries to do
* something that requires write access
+ * @ingroup Exception
*/
class ReadOnlyError extends ErrorPageError {
public function __construct(){
/**
* Show an error when the user hits a rate limit
+ * @ingroup Exception
*/
class ThrottledError extends ErrorPageError {
public function __construct(){
/**
* Show an error when the user tries to do something whilst blocked
+ * @ingroup Exception
*/
class UserBlockedError extends ErrorPageError {
public function __construct( Block $block ){
/**
* Handler class for MWExceptions
+ * @ingroup Exception
*/
class MWExceptionHandler {
/**