Purl.Error.TypeValidationFailed exception (purl v0.4.0)

Copy Markdown View Source

Error raised if a field does not conform to the type validation rules of the type validation schema.

Summary

Types

t()

@type t() :: %Purl.Error.TypeValidationFailed{
  __exception__: true,
  field: Purl.validation_field(),
  reason: String.t(),
  type: Purl.type(),
  value: String.t()
}