SE_connection_get_ext_error |
Retrieves extended error information.
LONG SE_connection_get_ext_error (SE_CONNECTION connection, SE_ERROR *error);
connection | The connection handle |
error | A pointer to an SE_ERROR structure |
SE_connection_get_ext_error reports the low-level error code that was returned from an abnormal termination of the last function call on the specified connection handle. This call returns either OS level errno values or low-level database error codes.
typedef struct {
LONG sde_error;
/* ArcSDE error code */
LONG ext_error;
/* DBMS or OS errno code */
CHAR err_msg1[SE_MAX_MESSAGE_LENGTH];
/* DBMS or SE_ERROR_get_string
msg */
CHAR err_msg2[SE_MAX_SQL_MESSAGE_LENGTH];
/* Second DBMS error, if applicable */
} SE_ERROR;
SE_SUCCESS
SE_CONNECTION_IN_USE
SE_CONNECTION_LOCKED
SE_INVALID_CONNECTION
SE_INVALID_POINTER
SE_NET_FAILURE
SE_SDE_NOT_STARTED
∙ SE_connection_get_ext_error does not return stream level errors that are returned by SE_stream_get_ext_error.