Skip to main content
Module

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

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class ChannelError.ChannelError
Re-export
Abstract
import { ChannelError } from "https://deno.land/x/rimbu@1.0.2/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.0.2/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