Xema.Caster behaviour (xema v0.13.6) View Source

A behaviour for a caster.

Link to this section Summary

Callbacks

A callback for a caster.

Link to this section Callbacks

Specs

cast(term()) :: {:ok, term()} | :error

A callback for a caster.