Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_menu/deps.deno.ts>ErrorHandler

Interactive menus for grammY.
Latest
type alias ErrorHandler
import { type ErrorHandler } from "https://deno.land/x/grammy_menu@v1.3.0/deps.deno.ts";

Error handler that can be installed on a bot to catch error thrown by middleware.

Type Parameters

optional
C extends Context = Context
definition: (error: BotError<C>) => unknown