Expand description
Error type for mk-codec.
Variants mirror the rejection conditions enumerated in
design/SPEC_mk_v0_1.md §4 (“Bytecode-Validity Rules”) and
bip/bip-mnemonic-key.mediawiki §“Decoder validity rules”. All
decoder-rejection paths in a future implementation MUST surface
one of these variants. Pre-BIP-submission, every variant is
required to map to at least one named negative test vector
(tracked as decoder-error-variant-parity in
design/FOLLOWUPS.md).
Enums§
- Error
- All errors
mk-codeccan produce.
Type Aliases§
- Result
Resultalias used throughoutmk-codec.