xema
v0.17.4
Pages
Modules
Search documentation of xema
Settings
View Source
Xema.Caster
behaviour
(xema v0.17.4)
A behaviour for a caster.
Summary
Callbacks
cast(term)
A callback for a caster.
Callbacks
Link to this callback
cast(term)
View Source
@callback
cast(
term
()) :: {:ok,
term
()} | :error
A callback for a caster.