Ch.Error exception (Ch v0.7.0)

View Source

Error struct wrapping ClickHouse error responses.

Summary

Types

t()

The Error struct.

Types

t()

@type t() :: %Ch.Error{
  __exception__: true,
  code: pos_integer() | nil,
  message: String.t()
}

The Error struct.

Fields

  • :code - The ClickHouse numeric error code
  • :message - The error message returned by the server