@blockchaincommons/dcbor-parse - v1.0.0-beta.3
    Preparing search index...

    Variable DcborParseErrorCodeConst

    DcborParseErrorCode: {
        EmptyInput: "EmptyInput";
        UnexpectedEndOfInput: "UnexpectedEndOfInput";
        ExtraData: "ExtraData";
        UnexpectedToken: "UnexpectedToken";
        UnrecognizedToken: "UnrecognizedToken";
        ExpectedComma: "ExpectedComma";
        ExpectedColon: "ExpectedColon";
        UnmatchedParentheses: "UnmatchedParentheses";
        UnmatchedBraces: "UnmatchedBraces";
        ExpectedMapKey: "ExpectedMapKey";
        InvalidTagValue: "InvalidTagValue";
        UnknownTagName: "UnknownTagName";
        InvalidHexString: "InvalidHexString";
        InvalidBase64String: "InvalidBase64String";
        UnknownUrType: "UnknownUrType";
        InvalidUr: "InvalidUr";
        InvalidKnownValue: "InvalidKnownValue";
        UnknownKnownValueName: "UnknownKnownValueName";
        InvalidDateString: "InvalidDateString";
        DuplicateMapKey: "DuplicateMapKey";
        NestingTooDeep: "NestingTooDeep";
    } = ...

    Why a source string was rejected.

    Type Declaration

    • ReadonlyEmptyInput: "EmptyInput"

      The source holds nothing but whitespace and comments.

    • ReadonlyUnexpectedEndOfInput: "UnexpectedEndOfInput"

      The source ended inside an item.

    • ReadonlyExtraData: "ExtraData"

      Text follows the first item.

    • ReadonlyUnexpectedToken: "UnexpectedToken"

      A token that cannot start or continue an item here; inside an array also Unit and a literal that did not decode.

    • ReadonlyUnrecognizedToken: "UnrecognizedToken"

      Text no token matches.

    • ReadonlyExpectedComma: "ExpectedComma"

      Two items in a container with nothing between them.

    • ReadonlyExpectedColon: "ExpectedColon"

      A map key not followed by a colon.

    • ReadonlyUnmatchedParentheses: "UnmatchedParentheses"

      A tag's content not followed by ).

    • ReadonlyUnmatchedBraces: "UnmatchedBraces"

      A map not closed before the end of the source.

    • ReadonlyExpectedMapKey: "ExpectedMapKey"

      A map entry without a value.

    • ReadonlyInvalidTagValue: "InvalidTagValue"

      A tag number outside the unsigned 64-bit range.

    • ReadonlyUnknownTagName: "UnknownTagName"

      A tag name the tags store does not know.

    • ReadonlyInvalidHexString: "InvalidHexString"

      An h'…' literal with an odd number of digits.

    • ReadonlyInvalidBase64String: "InvalidBase64String"

      A b64'…' literal that is not canonical base64.

    • ReadonlyUnknownUrType: "UnknownUrType"

      A UR whose type has no tag in the tags store.

    • ReadonlyInvalidUr: "InvalidUr"

      A UR the decoder rejects.

    • ReadonlyInvalidKnownValue: "InvalidKnownValue"

      A known-value number outside the unsigned 64-bit range.

    • ReadonlyUnknownKnownValueName: "UnknownKnownValueName"

      A known-value name the registry does not know.

    • ReadonlyInvalidDateString: "InvalidDateString"

      A date literal that is not a valid instant.

    • ReadonlyDuplicateMapKey: "DuplicateMapKey"

      A map key that appears twice.

    • ReadonlyNestingTooDeep: "NestingTooDeep"

      Nesting deeper than ParseOptions.maxDepth; this package's own limit.