Lettermint.Types.ValidationError (Lettermint v2.0.0)

Copy Markdown View Source

schema:ValidationError.

Fields

  • message (required): Errors overview.
  • errors (required): A detailed description of each field that failed validation.

Absent fields are :unset; nil is JSON null. extra holds response fields that this version of the SDK does not know.

Summary

Types

t()

@type t() :: %Lettermint.Types.ValidationError{
  errors: %{optional(String.t()) => [String.t()]},
  extra: %{optional(String.t()) => term()},
  message: String.t()
}