DoubleEntryLedger.Utils.Changeset (double_entry_ledger v0.2.0)
View SourceGet all errors
Summary
Functions
Returns errors grouped by field as a map of lists of {message_template, opts} tuples.
Functions
@spec all_errors(Ecto.Changeset.t()) :: String.t()
Returns errors grouped by field as a map of lists of {message_template, opts} tuples.
Messages are not interpolated; templates and their options are preserved for downstream formatting, translation, or logging.