DodoPayments.Webhooks.VerificationError exception (dodo_payments v0.1.0)

Copy Markdown View Source

An error produced while authenticating or decoding a Dodo webhook.

Summary

Types

reason()

@type reason() ::
  :invalid_body
  | :missing_header
  | :ambiguous_header
  | :invalid_timestamp
  | :timestamp_outside_tolerance
  | :invalid_secret
  | :invalid_signature
  | :invalid_json
  | :invalid_event
  | :invalid_options
  | :resource_limit

t()

@type t() :: %DodoPayments.Webhooks.VerificationError{
  __exception__: true,
  header: String.t() | nil,
  message: String.t(),
  reason: reason()
}