vow v0.0.1 Vow.ConformError exception View Source

TODO

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Vow.ConformError{
  __exception__: term(),
  problems: [Vow.ConformError.Problem.t()],
  spec: Vow.Conformable.t(),
  value: term()
}

Link to this section Functions

Link to this function

add_problems(conform_response, problems, add_to_front? \\ false)

View Source
add_problems(
  {:ok, term()} | {:error, [Vow.ConformError.Problem.t()]},
  [Vow.ConformError.Problem.t()],
  boolean()
) :: {:ok, term()} | {:error, [Vow.ConformError.Problem.t()]}