Skip to content

Commit

Permalink
docs: adjust docs about error returned on schema agreement timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
muzarski committed Jan 30, 2025
1 parent 4775c8d commit f9a3b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/queries/schema-agreement.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let session = SessionBuilder::new()

`Session::await_schema_agreement` returns a `Future` that can be `await`ed as long as schema is not in an agreement.
However, it won't wait forever; `SessionConfig` defines a timeout that limits the time of waiting. If the timeout elapses,
the return value is `Err(ExecutionError::RequestTimeout)`, otherwise it is `Ok(schema_version)`.
the return value is `Err(ExecutionError::SchemaAgreementTimeout)`, otherwise it is `Ok(schema_version)`.

```rust
# extern crate scylla;
Expand Down

0 comments on commit f9a3b49

Please sign in to comment.