Parquex.Error exception (parquex v0.3.0)

View Source

A stable, contextual error returned by Parquex operations.

Backend and native implementation details are normalized before they reach callers. details is reserved for explicitly safe context and must never contain credentials, row contents, or an unredacted location.

Summary

Types

category()

@type category() ::
  :cancelled
  | :conflict
  | :invalid_argument
  | :malformed_data
  | :native_failure
  | :not_found
  | :permission_denied
  | :timeout
  | :unsupported
  | :unknown

t()

@type t() :: %Parquex.Error{
  __exception__: term(),
  category: category(),
  details: map(),
  message: String.t(),
  operation: atom(),
  retryable: boolean()
}