ErrorDetail

Error message detail. Specifies the level of detail for error messages returned via HTTP as the error.message value.

Title

The following values are permitted:

0

Title only. Returns a short general description of the error.

1

Brief message. Reserved for future use. Currently returns the same info as 0.

2

Detailed message. Provides user-level details about the error. May include sensitive information, such as file paths.

3

Full debug info. Adds Java stack traces when applicable. Error images never include stack traces and instead return level 2 information in $error.message.

  • Level 0 is recommended for live servers that can be accessed publicly.
  • Level 2 is recommended for staging, quality assurance, and application development servers.
  • Level 3 information may be useful when reporting problems to Scene7 Tech Support.

Properties

Enumerated value, must be 0, 1, 2, or 3.

Default

Inherited from default::ErrorDetail if not specified or if empty.

See also

attribute::ErrorImage

On this page