retort v2.5.0 Retort.Response.Error.Ecto.Changeset View Source

Extensions to Ecto.Changeset to allow Retort.Response.Error.t to be turned (back) into Ecto.Changeset.t errors.

Link to this section Summary

Functions

Converts alembic_error to equivalent Ecto.Changeset.t validation error and adds it to changesset

Converts alembic_errors to equivalent Ecto.Changeset.t validation errors and adds them to changeset

Link to this section Functions

Link to this function add_alembic_error(changeset, error) View Source

Converts alembic_error to equivalent Ecto.Changeset.t validation error and adds it to changesset

Link to this function add_alembic_errors(changeset, alembic_errors) View Source

Converts alembic_errors to equivalent Ecto.Changeset.t validation errors and adds them to changeset