xpmerror

xpmerror xpmId severity message

This generates an XPM error condition.

message is a textual description of the error. If the source message is moved to the error database, then message is attached to the record as its error context.

severity can be any of these values:

  • action: The error is handled by an XLT statement error control value.
  • curdetail: Error out only the current translation routing detail, but continue the remaining ones.
  • alldetail: Error out all of the message’s translation routing details

This command also generates a Tcl error event. Handle the Tcl error with the catch command. This does not affect the XPM error condition.