Creates an instance of MPError.
The errors code, this will be a MapsIndoors error code.
If unsure of the code, check the native SDK.
A descriptive message of what caused the error.
Optional
status: numberAn optional status code, this will in case of network issues be the response code.
Optional
tag: anyOptional object tag.
Readonly
codeThe errors code, this will be a MapsIndoors error code.
If unsure of the code, check the native SDK.
Readonly
messageA descriptive message of what caused the error.
Optional
Readonly
statusAn optional status code, this will in case of network issues be the response code.
Optional
Readonly
tagOptional object tag.
Static
Readonly
invalidOccurs if the supplied API key is not a valid MapsIndoors key.
Static
Readonly
networkOccurs when an internet connection is required, or if the content server is unresponsive.
Static
Readonly
sdkOccurs if some functions are called before the SDK has been initialized.
Static
Readonly
unknownOccurs if an unknown exception is caught.
Static
createStatic
parseGenerated using TypeDoc
A class of errors that can occur when using the MapsIndoors SDK.
Export