Skip to content

Class: TransportTimeoutError ​

A read timed out waiting for bytes from the printer.

Extends ​

Constructors ​

Constructor ​

ts
new TransportTimeoutError(transport: TransportType, timeoutMs: number): TransportTimeoutError;

Parameters ​

ParameterType
transportTransportType
timeoutMsnumber

Returns ​

TransportTimeoutError

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