AshLua.Errors.FieldsError exception (ash_lua v0.1.0)

Copy Markdown View Source

An error raised during field-selection parsing / validation, carrying the user-facing message, stable code, and any field names + interpolation context the throw site knew about.

The AshLua.Error protocol impl unwraps this directly to the standard error shape — no central switch over internal tags.

Summary

Types

t()

@type t() :: %AshLua.Errors.FieldsError{
  __exception__: true,
  code: String.t(),
  fields: [String.t()],
  message: String.t(),
  short_message: String.t(),
  vars: map()
}