OpenWGA 7.11 - TMLScript reference

Property :


On object WGAError
Usage Returns if the original error case was actually a HTTP error condition

All errors that are handled via error incident pages actually have an HTTP error code, but some of these may originally be caused by other failures in the system, like a Java Exception that caused an HTTP error code 500.

When this property is true then the error was caused by a condition that directly triggered a HTTP error, like:

  • A page was not found (404)
  • A page's access is forbidden (403)
  • ...and the like
You can use this property to determine, if technical information like exception and stackTraceHTML are actually of interest for the current error. This is normally only the case if this property is false.
Writable False
Return value Boolean
Allowed in script types
  • WebTML pages and normal WebTML actions