SequenceContext.GetRunTimeErrorMessageEx

Syntax

SequenceContext.GetRunTimeErrorMessageEx( detailsMsg, errorCodeMsg, locationMsg)

Purpose

Returns the display strings that contain the run-time error details for the current step the context specifies.

Remarks

If a run-time error occurs, use this method to obtain the error message display strings. Typically, you use this method in a user interface to launch a custom Run-Time Error dialog box. To obtain a reference to a failing context from an Engine callback, such as the PostStepRunTimeError callback, access the context specified by the lookup string "RunState.Caller.ThisContext" .

Parameters

detailsMsg As String

[Out] Returns a string that describes the specific cause of the error.

errorCodeMsg As String

[Out] Returns a string with the error code number and the general meaning.

locationMsg As String

[Out] Returns a string that describes where the error occurred.

See Also

Run-Time Error dialog box

SequenceContext.SequenceErrorMessage