Ch.Error exception (Ch v0.7.0)
View SourceError struct wrapping ClickHouse error responses.
Summary
Types
@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