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

Copy Markdown
A handle could not be resolved to a DID during `authorize/2`.

reason values

  • :invalid_handle - the handle was malformed
  • :handle_not_found - DNS and well-known lookups returned nothing
  • :ambiguous_dns - multiple distinct DIDs at one handle
  • :unsupported_did_method - the resolved DID method is not implemented

Summary

Types

t()

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