struct CassErrorResult
A error result of a request
Functions
Frees an error result instance.
Gets error code for the error result. This error code will always have an server error source.
Gets consistency that triggered the error result of the following types:
- CASS_ERROR_SERVER_READ_TIMEOUT
- CASS_ERROR_SERVER_WRITE_TIMEOUT
- CASS_ERROR_SERVER_UNAVAILABLE
Gets the acutal number of recieved responses, recieved acknowlegements or alive nodes for following error result types, respectively:
- CASS_ERROR_SERVER_READ_TIMEOUT
- CASS_ERROR_SERVER_WRITE_TIMEOUT
- CASS_ERROR_SERVER_UNAVAILABLE
Gets required responses, required acknowlegements or required alive nodes needed to successfully complete the request for following error result types, respectively:
- CASS_ERROR_SERVER_READ_TIMEOUT
- CASS_ERROR_SERVER_WRITE_TIMEOUT
- CASS_ERROR_SERVER_UNAVAILABLE
Gets if the data was actually present in the responses from the replicas when the read timed out (CASS_ERROR_SERVER_READ_TIMEOUT).
Gets the write type of a request when the write timed out (CASS_ERROR_SERVER_WRITE_TIMEOUT).