The GetError(Errorcode) method returns the text (a BSTR string) of the error message corresponding to the Errorcode value. So a string variable may be filled with the error message using
X$=Uniocx1.GetError(Uniocx.Errorcode)
Where the Errorcode value is that shown in the Error codes table.
More: