IsError / LastError

Top  Previous  Next

EasyHL7 Object

N/A - Native to Commando

Property

IsError / Last Error

Access

Readonly

Description

See Below

 

 

These two properties go hand in hand

 

Name: IsError

DataType: Boolean

Mode: Readonly

Description: Returns the error state of the object

 

Name: LastError

DataType: String

Mode: Readonly

Description: Returns the last error message generated by the object.

 

Every time you issue a call to a method in the oMSG object you can check these two properties.

 

If IsError is True you can display or act on the contents of the LastError Property.