Initializes a page redirect exception.
Parameters | code | Refers to an HTTP status code, for example http.NOT_FOUND .
If no message is given, code is mapped to a
descriptive string that is used instead.
(type: str
) |
| message | A short error message, for example "NOT FOUND".
(type: str
) |
| response | A complete HTML document for an error page.
(type: str
) |
| location | The location response-header field value. It is an absolute URI used to
redirect the receiver to a location other than the Request-URI so the
request can be completed.
(type: str
) |