This method will add an error message to a script errors list that will be used to output the error messages by the HL7 Processor.
intRc = objHL7ScriptContext.SetScriptError("Custom error message goes here")
Parameter |
Type |
Description |
---|---|---|
Error string |
String |
An error string to be recorded in the HL7 Listener. |
Return Value |
Description |
---|---|
0 |
Returned if this error was added |
Non-0 |
Returned if this error was not added. |