import { type ResolveError } from "https://deno.land/x/cav@0.0.21/mod.ts";
Handler for handling errors that occur during response resolution. Meant to turn the errors into responses to send back to the client, using the same serialization process and utilties available in the resolve function. If an error is re-thrown, that error will be serialized as the response.
Call Signatures
(x: ResolveErrorArg): unknown