Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/channel/mod.ts>ChannelError.ChannelError

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Latest
class ChannelError.ChannelError
Re-export
Abstract
import { ChannelError } from "https://deno.land/x/rimbu@1.2.1/channel/mod.ts";
const { ChannelError } = ChannelError;

The abstract base class/type for Channel Errors.

Constructors

new
TimeoutError()

Constructors

new
OperationAbortedError()

Constructors

new
ChannelClosedError()

Constructors

new
ChannelExhaustedError()

Constructors

new
InvalidMessageTypeError(messageData: any)

Constructors

new
AlreadyBusySendingError()

Constructors

new
AlreadyBusyReceivingError()

Constructors

new
HandshakeError()
function ChannelError.ChannelError
Re-export
import { ChannelError } from "https://deno.land/x/rimbu@1.2.1/channel/mod.ts";
const { ChannelError } = ChannelError;

Returns true if the given object is an instance of a ChannelError.

Parameters

obj: any
  • the value to test