Skip to main content
Module

x/grammy_autoquote/deps.deno.ts>ErrorHandler

grammY plugin that forces all sent messages to quote the last received one
Go to Latest
type alias ErrorHandler
import { type ErrorHandler } from "https://deno.land/x/grammy_autoquote@v1.1.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