import { type ErrorHandler } from "https://dotland.deno.dev/x/grammy@v1.11.2/mod.ts";
Error handler that can be installed on a bot to catch error thrown by middleware.
definition: (error: BotError<C>) => unknown
import { type ErrorHandler } from "https://dotland.deno.dev/x/grammy@v1.11.2/mod.ts";
Error handler that can be installed on a bot to catch error thrown by middleware.