AshClickhouse.Error (AshClickhouse v0.1.0)

Copy Markdown View Source

Error types for the AshClickhouse data layer.

Errors raised or returned by the data layer are wrapped in one of these structs so that Ash can present consistent, structured error messages.

Summary

Functions

Wraps a ClickHouse client error into an Ash-compatible error.

Functions

wrap_clickhouse_error(error)

@spec wrap_clickhouse_error(term()) :: AshClickhouse.Error.ClickhouseError.t()

Wraps a ClickHouse client error into an Ash-compatible error.