import { composeMiddlewares } from "https://dotland.deno.dev/x/fresh@1.7.3/src/server/compose.ts";
Identify which middlewares should be applied for a request, chain them and return a handler response
Parameters
middlewares: MiddlewareRoute[]
errorHandler: ErrorHandler
paramsAndRoute: (url: URL) => RouteResult
renderNotFound: UnknownRenderFunction