With artyom you can detect which errors are found in the client.

This method allows the developer to detect which problem doesn't allow to artyom to get started.

Note

This method will be removed in the next version of artyom as this feature is developer-only.

var errorObject = artyom.detectErrors();

console.log(normalError);

// Outputs for example
//{
//    code: "artyom_error_localfile",
//    message: "Fatal Error Detected : It seems you're running the artyom demo from a local file ! The SpeechRecognitionAPI Needs to be hosted someway (server as http or https). Artyom will NOT work here, Sorry."
//}