[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Action/Exception/ -> FatalException.php (summary)

(no description)

File Size: 28 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FatalException:: (1 method):
  __construct()


Class: FatalException  - X-Ref

Class FatalException

A fatal exception during handling the action

Will abort all handling and display some info to the user. The HTTP status code
can be defined.

__construct($message = 'A fatal error occured', $status = 500, $previous = null)   X-Ref
FatalException constructor.

param: string $message the message to send
param: int $status the HTTP status to send
param: null|\Exception $previous previous exception