xpmerror

This generates an XPM error condition.

xpmerror xpmId severity message

severity is any of these values:

  • action: This error is handled by 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.

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.

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