Module frame_error

Source
Expand description

This modules contains [Cassandra’s errors] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L1011) which server could respond to client.

Structs§

AlreadyExistsError
The query attempted to create a keyspace or a table that was already existing. Read more…
CDRSError
CDRS error which could be returned by Cassandra server as a response. As it goes from the specification it contains an error code and an error message. Apart of those depending of type of error it could contain an additional information about an error. This additional information is represented by additional_info property which is ErrorKind.
FunctionFailureError
A (user defined) function failed during execution.
ReadFailureError
A non-timeout exception during a read request.
ReadTimeoutError
Timeout exception during a read request.
SimpleError
Is used if error does not contain any additional info.
UnavailableError
Additional info about [unavailable exception] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L1025)
UnpreparedError
Can be thrown while a prepared statement tries to be executed if the provided prepared statement ID is not known by this host. [Read more…] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L1150)
WriteFailureError
A non-timeout exception during a write request. Read more…
WriteTimeoutError
Timeout exception during a write request.

Enums§

AdditionalErrorInfo
Additional error info in accordance to [Cassandra protocol v4] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L1011).
WriteType
Describes the type of the write that failed. Read more…

Type Aliases§

Result
CDRS specific Result which contains a Frame in case of Ok and CDRSError if Err.