GetLastErrorText

Syntax:

GetLastErrorText()

Description:
Returns a text string describing the last error encountered by the Workflow (the error string corresponds to the error code returned by GetLastError)

Parameter Description

(no parameters)

Example:

Sub Main
' Display the last error code and text
strError = "Error Code: " & GetLastError() & " Error: " & GetLastErrorText()
MsgBox strError
End
Sub

See Also:

GetLastError