Dredd.Dataset (dredd v1.3.0)

This is the internal datastructure in which the validators accumulate any validation errors.

Link to this section Summary

Link to this section Types

@type error_t() :: {String.t(), Keyword.t()}
@type t() :: %Dredd.Dataset{
  data: map(),
  errors: [{atom(), error_t()}],
  valid?: boolean()
}

Link to this section Functions

@spec new(map()) :: t()