Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy/mod.ts>ErrorHandler

The Telegram Bot Framework.
Very Popular
Go to Latest
type alias ErrorHandler
import { type ErrorHandler } from "https://deno.land/x/grammy@v1.16.0/mod.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