View Source AshPhoenix (ash_phoenix v0.7.2-rc.0)
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
@spec 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.