We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ecc3310 + dd1c428 commit 2aad281Copy full SHA for 2aad281
scylla-rust-wrapper/src/cass_error.rs
@@ -32,7 +32,7 @@ impl ToCassError for ExecutionError {
32
match self {
33
ExecutionError::BadQuery(bad_query) => bad_query.to_cass_error(),
34
ExecutionError::RequestTimeout(_) => CassError::CASS_ERROR_LIB_REQUEST_TIMED_OUT,
35
- ExecutionError::EmptyPlan => CassError::CASS_ERROR_LIB_INVALID_STATE,
+ ExecutionError::EmptyPlan => CassError::CASS_ERROR_LIB_NO_HOSTS_AVAILABLE,
36
ExecutionError::MetadataError(e) => e.to_cass_error(),
37
ExecutionError::ConnectionPoolError(e) => e.to_cass_error(),
38
ExecutionError::PrepareError(e) => e.to_cass_error(),
0 commit comments