Lettermint.ClientValidationError exception (Lettermint v2.1.0)

Copy Markdown View Source

The SDK rejected a request before sending it, for example invalid message tags or a body that cannot be encoded as JSON. Unlike Lettermint.ValidationError, the API never saw this request.

field names the offending field, for example "tags" or "messages[2].tags".

Summary

Types

t()

@type t() :: %Lettermint.ClientValidationError{
  __exception__: term(),
  field: String.t() | nil,
  message: String.t()
}