Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/channel/custom/index.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.1.0/channel/custom/index.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.1.0/channel/custom/index.ts";
const { ChannelError } = ChannelError;

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

Parameters

obj: any
  • the value to test