import { defaultErrorHandler } from "https://deno.land/x/rutt@0.3.0/mod.ts";
The default error handler for the router. By default it responds with null
body and a status of 500 along with console.error
logging the caught error.
x/rutt/mod.ts>defaultErrorHandler
import { defaultErrorHandler } from "https://deno.land/x/rutt@0.3.0/mod.ts";
The default error handler for the router. By default it responds with null
body and a status of 500 along with console.error
logging the caught error.