import { type decoder } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { Wrap } = decoder;
The Wrap type is used to give context to an existing DecodeError. This can be as simple as wrapping an array decode error to indicate that we first check for an array before we check that the array matches a tuple definition. It can also be used to constrain or annotate.
definition: { readonly tag: "Wrap"; readonly context: string; readonly error: DecodeError; }