OpenWGA 7.11 - TMLScript reference

Error
Property :

message

On object Error
Usage Message of the error
Description This property is already defined in the base JavaScript error object. In TMLScript it has the additional behaviour to provide the error message of a wrapped Java exception, if the error was caused by one.

In that case the exception object itself is available as property error.javaException.
Return value Error message (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent