import { decoder } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { combine } = decoder;
Combine two DecodeErrors into one. If both DecodeErrors are Unions then they are merged into a Union, if they are both Intersections then are merged into an Intersection, otherwise they are wrapped in a Many.
Parameters
second: DecodeError
Returns
(first: DecodeError) => DecodeError