Check for errors sent from the native side