VortexStatus vortex_connection_get_status ( VortexConnection connection)

Returns the current status for the provided connection.

This function can be used to check the connection status (error codes) just before an operation have failed. In the case the connection is properly running, the function will return VortexOk.

This function complements and completes the function provided by vortex_connection_get_message which returns an textual error (but not an error code).

Parameters
connectionThe connection that is required to return its status.
Returns
Current status error

References VortexWrongReference.