Skip to main content
Module

x/grammy_conversations/deps.deno.ts>ErrorHandler

Conversational interfaces for grammY
Go to Latest
type alias ErrorHandler
import { type ErrorHandler } from "https://deno.land/x/grammy_conversations@v1.1.1/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