Skip to the content
Documentation

HTTPError

No ratings yet

Summary

Defines the HTTP error code to use for the specified Exponential error code.

Usage

HTTPError[<error_code>]=<HTTP_error_code>

Description

This configuration defines the HTTP error code to be used for each Exponential error code.
It considers the Exponential error code as array index, and the HTTP error code as value.

The following Exponential error codes for kernel are currently defined:

  • 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

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.