Ankusa.SDK.ClaimIntegrityError exception (ankusa_sdk v0.6.0)

Copy Markdown View Source

The sha256 of the bytes the gateway returned doesn't match the expected sha256 the queue message carries.

The gateway itself never checks this — see "Redeem a claim" in docs/claim-check.md — so this is the reader's own end-to-end check, always run before redeem/3 returns.

Summary

Types

t()

@type t() :: %Ankusa.SDK.ClaimIntegrityError{
  __exception__: term(),
  message: term(),
  retryable: term()
}