AshPhoenix (ash_phoenix v0.6.0-rc.3) View Source
General helpers for AshPhoenix.
These will be deprecated at some point, once the work on AshPhoenix.Form
is complete.
Link to this section Summary
Functions
Gets all errors on a changeset or query.
Link to this section Functions
Specs
errors_for(Ash.Changeset.t() | Ash.Query.t(), Keyword.t()) :: [{atom(), {String.t(), Keyword.t()}}] | [String.t()] | map()
Gets all errors on a changeset or query.
This honors the AshPhoenix.FormData.Error
protocol and applies any transform_errors
.
See transform_errors/2
for more information.