import { Hono } from "https://deno.land/x/hono@v2.5.2/mod.ts";
Constructors
new
Hono(init?: Partial<Pick<Hono, "router" | "strict">>)Properties
private
errorHandler: ErrorHandler<E>private
notFoundHandler: NotFoundHandler<E>request: (input: Request | string, requestInit?: RequestInit) => unknown
Methods
private
handleError(err: unknown, c: Context<string, E>)private
matchRoute(method: string, path: string)notFound(handler: NotFoundHandler<E>)
onError(handler: ErrorHandler<E>)