Handle Initialisation Errors

<String> LViS.ON_ERROR

LViS.ON_ERROR event is when error occurred upon initialization

Example

// subscribe to event
LViS.bind(LViS.ON_ERROR, function () {
  console.log('Oops, something went wrong!');
});

// initialize API
LViS.init(config);