meshcore.js
ReferenceClasses

CommandTimeoutError

Defined in: packages/client/src/errors.ts:35

Thrown when the radio does not answer a Companion command within its timeout.

Extends

Constructors

Constructor

new CommandTimeoutError(command, timeoutMs): CommandTimeoutError;

Defined in: packages/client/src/errors.ts:43

Parameters

command

string

Companion command name

timeoutMs

number

Delay waited

Returns

CommandTimeoutError

Overrides

MeshcoreError.constructor

Properties

code

readonly code: string;

Defined in: packages/transports/src/errors.ts:3

Inherited from

MeshcoreError.code


command

readonly command: string;

Defined in: packages/client/src/errors.ts:36


timeoutMs

readonly timeoutMs: number;

Defined in: packages/client/src/errors.ts:37

On this page