MediaWiki master
MediaWiki\Exception Namespace Reference

Classes

class  BadRequestError
 An error page that emits an HTTP 400 Bad Request status code. More...
 
class  BadTitleError
 Show an error page on a badtitle. More...
 
class  CannotCreateActorException
 Exception thrown when an actor can't be created. More...
 
class  ErrorPageError
 An error page which can definitely be safely rendered using the OutputPage. More...
 
class  FatalError
 Abort the web request with a custom HTML string that will represent the entire response. More...
 
class  HttpError
 Show an error that looks like an HTTP server error. More...
 
interface  ILocalizedException
 Interface for MediaWiki-localized exceptions. More...
 
class  LocalizedException
 Basic localized exception. More...
 
class  MWContentSerializationException
 Exception representing a failure to serialize or unserialize a content object. More...
 
class  MWException
 MediaWiki exception. More...
 
class  MWExceptionHandler
 Handler class for MWExceptions. More...
 
class  MWExceptionRenderer
 Class to expose exceptions to the client (API bots, users, admins using CLI scripts) More...
 
class  MWUnknownContentModelException
 Exception thrown when an unregistered content model is requested. More...
 
class  PermissionsError
 Show an error when a user tries to do something they do not have the necessary permissions for. More...
 
class  ProcOpenError
 
class  ReadOnlyError
 Show an error when the wiki is locked/read-only and the user tries to do something that requires write access. More...
 
class  ShellDisabledError
 
class  ThrottledError
 Show an error when the user hits a rate limit. More...
 
class  UserBlockedError
 Show an error when the user tries to do something whilst blocked. More...
 
class  UserNotLoggedIn
 Redirect a user to the login page or account creation page. More...