Expand description
The resolver’s error taxonomy.
Two failure classes are deliberately kept apart (see the module docs on
crate::resolver):
- Hard, fail-closed errors —
ResolveError— a malformed URN, a not-found resource, or a verify/decrypt failure. A verify failure means the served bytes did not chain to the trusted on-chain root (tampered / decoy): the resolver NEVER returns those bytes, it fails closed. - The network-unreachable state — NOT an error. When every transport tier
is unreachable the resolver returns a branded HTML document via
crate::ResolvedDatawithunreachable == true, so a consuming webview can render a friendly “connect a node” page instead of a crash.
Enums§
- Resolve
Error - A hard, fail-closed resolution failure. Distinct from the network-unreachable
state, which is a successful
crate::ResolvedDatacarrying a branded page.
Type Aliases§
- Result
- Result alias for resolver operations.