OpenWGA 7.11 - TMLScript reference

Method :

error(msg [, param, param, ...])

On object Console
Usage Logs a message of log level "error"
Description Log level "warn" is used for messages about malfunctionings or unexpected behaviour/results, which most likely have a serious impact to the system.

msg (String)

The message, eventually containing substitution patterns described on the Console object documentation

param (Object)

Any number of parameters that are inserted into the message at the position of substitution patterns

Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events