Function cassandra_cpp_sys::cass_future_get_error_result
source ยท pub unsafe extern "C" fn cass_future_get_error_result(
future: *mut CassFuture,
) -> *const CassErrorResult
Expand description
Gets the error result from a future that failed as a result of a server error. If the future is not ready this method will wait for the future to be set.
@public @memberof CassFuture
@param[in] future @return CassErrorResult instance if the request failed with a server error, otherwise NULL if the request was successful or the failure was not caused by a server error. The return instance must be freed using cass_error_result_free().
@see cass_session_execute() and cass_session_execute_batch()