api › errors › 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)
-
↳ InvalidBeaconFormatError
+ 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
• message: string
Inherited from DuplicateSessionError.message
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
• name: string
Inherited from DuplicateSessionError.name
Defined in node_modules/typescript/lib/lib.es5.d.ts:973
• stack? : string
Inherited from DuplicateSessionError.stack
Defined in node_modules/typescript/lib/lib.es5.d.ts:975
▪ Error: ErrorConstructor
Defined in node_modules/typescript/lib/lib.es5.d.ts:984