import { type decoder } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { Leaf } = decoder;
The Leaf type is the simplest of DecodeErrors. It indicates that some concrete value did not match the expected value. The reason field is used to indicate the expected value.