This allow for example to stop the app from outside. We can call the new `onError` callback.
This allow for example to stop the app from outside. We can call the new
onErrorcallback.