Retrieves GeoStan informational, error, and fatal warning information for the current thread.
Syntax
void GsErrorGetEx(GsID id, pstr error_message, pstr
details)
Arguments
GsIDid GsId returned by GsInitWithProps() if initialization completed, or set to NULL if initialization failed and GsInitWithProps() returned NULL.
pstrerror_message GeoStan error code and descriptive text. The error_message has the following format: SGTppeeeDESCRIPTION, where:
nSGT is a constant value.
npp is the product number (01 for GeoStan).
neee is the three character error code.
nDESCRIPTION is a short text message naming the error.
pstrdetails Descriptive message, such as the file name associated with the error.
Return values
The next GeoStan error detected in the current thread. Upon return, error messages contain a brief description and additional text, such as the name of the file or directory associated with the error.
Prerequisites
GsInitWithProps()
GsErrorHas()
Example
See GsInit_r for example code.