Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/bencodex/mod.ts>DecodingErrorKind

An alternative take on implementing Bencodex in TypeScript/JavaScript
Latest
type alias DecodingErrorKind
import { type DecodingErrorKind } from "https://deno.land/x/bencodex@0.2.2/mod.ts";

Represents an error that can occur while decoding a Bencodex value.

definition:
| KeyDecodingErrorKind
| "unexpectedByte"
| "invalidInteger"
| "noIntegerSuffix"
| "noListSuffix"
| "noDictionarySuffix"
| "unorderedDictionaryKeys"
| "duplicateDictionaryKeys"