class GrammyError
implements ApiError
extends Error
import { GrammyError } from "https://dotland.deno.dev/x/grammy@v1.11.1/core/error.ts";
This class represents errors that are thrown by grammY because the Telegram Bot API responded with an error.
Instances of this class hold the information that the Telegram backend returned.
If this error is thrown, grammY could successfully communicate with the Telegram Bot API servers, however, an error code was returned for the respective method call.
Constructors
Properties
readonly
parameters: ResponseParametersFurther parameters that may help to automatically handle the error.