extends |
Exception |
---|
Main Exception class.
This class defines a getHTTPCode method, which should return the appropriate HTTP code for the Exception occurred. The default for this is 500.
This class also allows you to generate custom xml data for your exceptions. This will be displayed in the 'error' element in the failing response.
Methods | ||
---|---|---|
public
|
getHTTPCode(): int
|
# |
public
|
serialize(Server $server, DOMElement $errorNode)
|
# |
public
|
getHTTPHeaders(Server $server): array
|
# |
Methods inherited from Exception |
---|
__construct(), __wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |