Skip to the content
Documentation

RedirectURL

No ratings yet

Summary

A list of error codes and the url for redirection.

Usage

RedirectURL[<error_code>]=<url>

Description

This setting sets which url will be used for redirection, for each Exponential error code.
It considers the error code as index and the url as value.

The following 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

This setting overrides DefaultRedirectURL.

Examples

RedirectURL[1]=/user/login

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.