ExScylla.Types.Errors.QueryError (ex_scylla v0.10.2)

Copy Markdown

Represents an error that can occur during query execution. Maps to scylla::errors::ExecutionError.

Summary

Types

t()

For more details, see

Types

msg()

@type msg() :: String.t()

t()

@type t() ::
  {:db_error, ExScylla.Types.Errors.DbError.t()}
  | {:bad_query, ExScylla.Types.Errors.BadQuery.t()}
  | {:io_error, msg()}
  | {:protocol_error, msg()}
  | {:invalid_message, msg()}
  | {:timeout_error, msg()}
  | {:too_many_oprhaned_stream_ids, msg()}
  | {:unable_to_alloc_stream_id, msg()}
  | {:translation_error, ExScylla.Types.Errors.TranslationError.t()}

For more details, see:

https://docs.rs/scylla/1.8.0/scylla/errors/enum.ExecutionError.html