Skip to main content
Module

x/async_channels/src/channel.ts>InvalidTransitionError

Inspired by Go & Clojure Channels, async_channels provides channels as an asynchronous communication method between asynchronous functions.
Latest
class InvalidTransitionError
extends TypeError
Re-export
import { InvalidTransitionError } from "https://deno.land/x/async_channels@v1.0.0-rc8/src/channel.ts";

The Error class used when an invalid transition is performed.

Constructors

new
InvalidTransitionError(state: StateNames, transition: Transitions)