@blockchaincommons/provenance-mark - v1.0.0-beta.3
    Preparing search index...

    Interface ProvenanceMarkErrorDetailsByCode

    The details shape of every code.

    interface ProvenanceMarkErrorDetailsByCode {
        InvalidSeedLength: SeedLengthDetails<"InvalidSeedLength">;
        InvalidRngStateLength: SeedLengthDetails<"InvalidRngStateLength">;
        DuplicateKey: KeyDetails<"DuplicateKey">;
        MissingKey: KeyDetails<"MissingKey">;
        InvalidKey: KeyDetails<"InvalidKey">;
        ExtraKeys: ExpectedActualDetails<"ExtraKeys">;
        InvalidKeyLength: ExpectedActualDetails<"InvalidKeyLength">;
        InvalidNextKeyLength: ExpectedActualDetails<"InvalidNextKeyLength">;
        InvalidChainIdLength: ExpectedActualDetails<"InvalidChainIdLength">;
        InvalidMessageLength: ExpectedActualDetails<"InvalidMessageLength">;
        InvalidInfoCbor: InvalidInfoCborDetails;
        DateOutOfRange: ReasonDetails<"DateOutOfRange">;
        InvalidDate: ReasonDetails<"InvalidDate">;
        MissingUrlParameter: MissingUrlParameterDetails;
        YearOutOfRange: YearOutOfRangeDetails;
        InvalidMonthOrDay: InvalidMonthOrDayDetails;
        ResolutionError: ReasonDetails<"ResolutionError">;
        Bytewords: MessageDetails<"Bytewords">;
        Cbor: MessageDetails<"Cbor">;
        Url: MessageDetails<"Url">;
        Base64: MessageDetails<"Base64">;
        Json: MessageDetails<"Json">;
        TryFromInt: MessageDetails<"TryFromInt">;
        Validation: ValidationDetails;
        Envelope: MessageDetails<"Envelope">;
    }
    Index
    InvalidSeedLength: SeedLengthDetails<"InvalidSeedLength">

    A seed that is not 32 bytes.

    InvalidRngStateLength: SeedLengthDetails<"InvalidRngStateLength">

    An RNG state that is not 32 bytes.

    DuplicateKey: KeyDetails<"DuplicateKey">

    A key given twice.

    MissingKey: KeyDetails<"MissingKey">

    A key not given.

    InvalidKey: KeyDetails<"InvalidKey">

    A key with the wrong value.

    ExtraKeys: ExpectedActualDetails<"ExtraKeys">

    A keyed structure with the wrong number of keys.

    InvalidKeyLength: ExpectedActualDetails<"InvalidKeyLength">

    A key that is not the link length.

    InvalidNextKeyLength: ExpectedActualDetails<"InvalidNextKeyLength">

    A next key that is not the link length.

    InvalidChainIdLength: ExpectedActualDetails<"InvalidChainIdLength">

    A chain id that is not the link length.

    InvalidMessageLength: ExpectedActualDetails<"InvalidMessageLength">

    A message shorter than the resolution's fixed part.

    InvalidInfoCbor: InvalidInfoCborDetails

    Info bytes that are not CBOR.

    DateOutOfRange: ReasonDetails<"DateOutOfRange">

    A date the codec cannot carry.

    InvalidDate: ReasonDetails<"InvalidDate">

    A date string or Date that holds no date.

    MissingUrlParameter: MissingUrlParameterDetails

    A URL without the provenance parameter.

    YearOutOfRange: YearOutOfRangeDetails

    A year outside 2023 to 2150 for the 2-byte codec.

    InvalidMonthOrDay: InvalidMonthOrDayDetails

    A month or day that is not on the calendar.

    ResolutionError: ReasonDetails<"ResolutionError">

    A resolution number, sequence number or field length the resolution refuses.

    Bytewords: MessageDetails<"Bytewords">

    A bytewords decode failure.

    Cbor: MessageDetails<"Cbor">

    A CBOR failure.

    Url: MessageDetails<"Url">

    A URL that does not parse.

    Base64: MessageDetails<"Base64">

    Base64 that does not decode.

    Json: MessageDetails<"Json">

    JSON that does not deserialise.

    TryFromInt: MessageDetails<"TryFromInt">

    An integer outside its type.

    Validation: ValidationDetails

    A mark that does not follow its predecessor.

    Envelope: MessageDetails<"Envelope">

    An envelope that is not a generator's, or an envelope failure.