Skip to content

Class: TransportClosedError

The transport was closed while a read or write was in flight, or a new operation was attempted on a closed transport.

Extends

Constructors

Constructor

ts
new TransportClosedError(transport: TransportType): TransportClosedError;

Parameters

ParameterType
transportTransportType

Returns

TransportClosedError

Overrides

TransportError.constructor

Properties

cause?

ts
optional cause?: unknown;

Inherited from

TransportError.cause


message

ts
message: string;

Inherited from

TransportError.message


name

ts
name: string;

Inherited from

TransportError.name


stack?

ts
optional stack?: string;

Inherited from

TransportError.stack


transport

ts
readonly transport: TransportType;

Inherited from

TransportError.transport