import { responseFromHttpError } from "https://deno.land/x/acorn@0.0.7/util.ts";
Generate a Response
based on the original Request
and an HttpError
.
It will ensure negotiation of the content type and will provide the stack
trace in errors that are marked as exposeable.