freight v0.3.1 Freight.Integrations.Ecto

The ecto integration converts ecto changesets into error messages.

You can pass a changeset as an error message, and Freight will interpret it and list its errors.

Link to this section Summary

Functions

Converts a changeset to a list of error strings

Link to this section Functions

Link to this function

convert_error(changeset)

Converts a changeset to a list of error strings