Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Latest commit

 

History

History
81 lines (44 loc) · 2.17 KB

errors.invalidbeaconformaterror.md

File metadata and controls

81 lines (44 loc) · 2.17 KB

apierrorsInvalidBeaconFormatError

Class: InvalidBeaconFormatError

Will be thrown when a beacon in JSON format is missing a property or has a property with an unexpected value/type. (Could be thrown in KPBeacon.parse)

Hierarchy

  • Error

    InvalidBeaconFormatError

Index

Constructors

Properties

Constructors

constructor

+ new InvalidBeaconFormatError(msg: string): InvalidBeaconFormatError

Defined in src/errors/InvalidBeaconFormatError.ts:10

Creates a new InvalidBeaconFormatError - usually with the default error message.

Parameters:

Name Type Default Description
msg string "Invalid beacon format!" The error message.

Returns: InvalidBeaconFormatError

Properties

message

message: string

Inherited from DuplicateSessionError.message

Defined in node_modules/typescript/lib/lib.es5.d.ts:974


name

name: string

Inherited from DuplicateSessionError.name

Defined in node_modules/typescript/lib/lib.es5.d.ts:973


Optional stack

stack? : string

Inherited from DuplicateSessionError.stack

Defined in node_modules/typescript/lib/lib.es5.d.ts:975


Static Error

Error: ErrorConstructor

Defined in node_modules/typescript/lib/lib.es5.d.ts:984