Error return method
This method returns a GLS error number.
int GetError() const
Some ITLocale methods
indicate whether an error has occurred in their return values (-1
, 0
,
or NULL
). For other methods, you must call ITLocale::GetError() to
determine if there was an error. You can, as a standard practice,
call ITLocale::GetError() after every call to an ITLocale method.
See the description of the corresponding function in the Informix® GLS User's Guide to see the errors that a particular ITLocale method can return.