clickhousex v0.2.1 Clickhousex.Error exception View Source

Defines an error returned from the client.

Link to this section Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Link to this section Types

Link to this type t() View Source
t() :: %Clickhousex.Error{__exception__: term(), code: integer(), constraint_violations: Keyword.t(), message: binary()}

Link to this section Functions

Link to this function exception(msg) View Source
exception(keyword()) :: Exception.t()
exception(String.t()) :: Exception.t()

Callback implementation for Exception.exception/1.

Callback implementation for Exception.message/1.