View Source Fussy.Validator behaviour (fussy v0.1.0-rc.4)

Summary

Types

Callbacks

Link to this callback

validate(self, path, data)

View Source
@callback validate(self :: term(), path :: path(), data :: any()) ::
  {:ok, any()} | {:reason, [Fussy.ValidationError.t()]}