HTTPError
Summary
Defines the HTTP error code to use for the specified eZ Publish error code.Usage
HTTPError[<error_code>]=<HTTP_error_code>
Description
This configuration defines the HTTP error code to be used for each eZ Publish error code.
It considers the eZ Publish error code as array index, and the HTTP error code as value.
The following eZ Publish error codes for kernel are currently defined, and the same ones apply to shop:
- 1 - Access denied
- 2 - Object not found
- 3 - Object not available
- 4 - Object has moved
- 20 - Module not found
- 21 - Module view not found
- 22 - Module or view disabled
- 50 - No DB connection
For the complete list of HTTP error codes, check the following list here.
Examples
HTTPError[20]=404
Ricardo Correia (30/07/2013 2:04 pm)
Ricardo Correia (30/07/2013 2:55 pm)
Comments
There are no comments.