Skip to main content

Module error

Module error 

Source
Expand description

Error type for the store + contexts.

Mirrors the Elixir contexts’ error vocabulary: changeset-style validation failures become Error::Validation (a list of (field, message) pairs, matching Ecto.Changeset.errors), domain rejections become typed variants (e.g. Error::ProjectNotFound, Error::NotFound), and anything from rusqlite/serde bubbles up untyped.

Enums§

Error

Type Aliases§

FieldError
A single changeset-style validation error: the field name and a message. Mirrors one entry of Ecto.Changeset.errors.
Result