Latch.Error.IdentityMismatch exception (latch v0.5.0)

Copy Markdown

A handle reoslved to a DID, but the DID document does not read back to it, or it lacks a usable PDS endpoint.

reason values

  • :handle_mismatch - the DID document claims a different handle
  • :invalid_did - the DID could not be parsed
  • :no_pds - the DID document has no PDS service entry
  • :invalid_pds_endpoint - the PDS service target is not a valid URL
  • :did_mismatch

Summary

Types

t()

@type t() :: %Latch.Error.IdentityMismatch{
  __exception__: term(),
  handle: String.t() | nil,
  reason: atom()
}