Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grm/deps.ts>Cancellation

MTProto API Client for Deno 🦕
Go to Latest
class Cancellation
extends Error
import { Cancellation } from "https://deno.land/x/grm@0.8.0/deps.ts";

If canceled, a [[CancellablePromise]] should throw an Cancellation object.

Constructors

new
Cancellation(message?: string)