Back to product page

LastError property


Holds last error that occurred.

Type

Long

Syntax

  • Basic
object.LastError [= value]
The LastError(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
valueA Long value.

Remarks

When working in scripting environments, such as ASP or PowerBuilder, you are unable to retrieve information about possible error that was returned by previously executed method, you can use LastError property to read error that occurred.

To get string representation of the error, you can use the LastErrorText Property.

Platforms

Windows