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

x/async_channels/internal/errors.ts>AbortedError

Inspired by Go & Clojure Channels, async_channels provides channels as an asynchronous communication method between asynchronous functions.
Go to Latest
class AbortedError
extends Error
import { AbortedError } from "https://deno.land/x/async_channels@v1.0.0-alpha54/internal/errors.ts";

The Error class used when receive or send are aborted before completion.

Constructors

new
AbortedError(type: "send" | "receive")