meshcore.js
ReferenceClasses

RadioConfigError

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

Thrown by login() when the radio refuses a setting from the RadioConfig applied at startup.

Extends

Constructors

Constructor

new RadioConfigError(
   setting, 
   message, 
   radioCode?, 
   options?
): RadioConfigError;

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

Parameters

setting

RadioSetting

name, location, txPower or params

message

string

Human readable detail

radioCode?

number | null

Error code sent by the radio, or null

options?

ErrorOptions

cause

Returns

RadioConfigError

Overrides

MeshcoreError.constructor

Properties

code

readonly code: string;

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

Inherited from

MeshcoreError.code


radioCode

readonly radioCode: number | null;

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


setting

readonly setting: RadioSetting;

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

On this page