remove old comment
adds a function to dispatch errors on Android side