Skip to main content

Module errors

Module errors 

Source
Expand description

Language-neutral Protocol v2 failure classes (SPEC-v2 §2.7, Go errors_v2.go) and the typed signing error (SPEC-v2 §3.2).

Structs§

V2Error
A classified Protocol v2 failure. class is the conformance-relevant part; message is diagnostic text only.

Enums§

V2ErrorClass
The closed list of SPEC-v2 §2.7 failure classes. Every v2 failure that is not a terminal Protocol result, a release result, or a signing error has exactly one of these classes. Messages are diagnostic only; conformance compares classes.
V2SignError
A typed signing failure (SPEC-v2 §3.2). Signing failures are not verification error classes: a refusal creates no object and no signer method runs after an issuer-duty or validation refusal.

Functions§

v2_error_class_of
Go V2ErrorClassOf: None for success.

Type Aliases§

V2Result
Result alias for Protocol v2 operations.
V2SignResult
Result alias for typed v2 signing.