Skip to main content

namespace ChannelError

undocumented

Classes

NameDescription
AlreadyBusyReceivingErrorError indicating that an attempt to read from a Channel failed because a read is already ongoing.
AlreadyBusySendingErrorError indicating that an attempt to send to a Channel failed because a send is already ongoing.
ChannelClosedErrorError indicating that a Channel is closed when performing an operation.
ChannelErrorThe abstract base class/type for Channel Errors.
ChannelExhaustedErrorError indicating that a Channel is exhausted when performing an operation.
HandshakeErrorError indicating that a Channel handshake failed.
InvalidMessageTypeErrorError indicating that a Channel message has an incorrect type.
OperationAbortedErrorError indicating that a Channel operation was aborted.
TimeoutErrorError indicating that a timeout has occured during a Channel operation.

Functions

isChannelError

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

Definition

export declare function isChannelError(obj: any): obj is ChannelError;

Parameters

NameTypeDescription
objanythe value to test