solidDB Help : solidDB reference : solidDB SA: Function reference : SaErrorInfo
  
SaErrorInfo
SaErrorInfo returns error information from the last operation in a server connection.
Cursor errors cannot be checked with this function; instead function SaCursorErrorInfo must be used.
Synopsis
bool SA_EXPORT_H SaErrorInfo( SaConnectT* scon,
  char** errstr,
  int* errcode)
Parameters
The following table describes the parameters:
 
Parameters
Usage type
Description
scon
use
Pointer to a connection object.
errstr
out, ref
If there was an error, and if this parameter is non-NULL, then a pointer to a local copy of an error string is stored into *errstr.
errcode
out
If there was an error, and if this parameter is non-NULL, then an error code is stored into *errcode.
Return value
TRUE There was an error, so errstr and errcode were updated. FALSE There were no errors, so errstr and errcode were not updated.
Go up to
solidDB SA: Function reference