Skip to main content

Module error

Module error 

Source
Expand description

TrustError and the crate-wide TrustResult alias.

Every fallible public API on the trust primitives returns TrustResult<T>. Each variant names a distinct trust operation, and every Display string carries the operation name so callers can surface a precise diagnostic without parsing free-form text. Variants that carry a dynamic cause use a reason: String field; signature verification has a dedicated parameterless variant so callers can match it structurally rather than by string.

Enums§

TrustError
Errors returned from the trust primitives.

Type Aliases§

TrustResult
Convenience alias for Result<T, TrustError>.