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