Ch.Error exception (Ch v0.8.2)

Copy Markdown View Source

Error struct wrapping ClickHouse error responses.

Summary

Types

t()

The Error struct. See ErrorCodes.cpp for possible errors.

Types

t()

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

The Error struct. See ErrorCodes.cpp for possible errors.

Fields

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