Accrue.SignatureError exception (accrue v0.3.0)

Copy Markdown View Source

Raised when a webhook signature fails verification. This is NEVER returned as a tuple — a bad signature is either a misconfiguration or an attacker, and neither is recoverable at the call site. The webhook plug translates this raise into an HTTP 400.

Summary

Types

t()

@type t() :: %Accrue.SignatureError{
  __exception__: true,
  message: term(),
  reason: term()
}