View Source Fussy.Validator behaviour (fussy v0.1.0-rc.4)
Summary
Types
Callbacks
@callback validate(self :: term(), path :: path(), data :: any()) :: {:ok, any()} | {:reason, [Fussy.ValidationError.t()]}
@callback validate(self :: term(), path :: path(), data :: any()) :: {:ok, any()} | {:reason, [Fussy.ValidationError.t()]}