Send an error to the callback when activity.close or object chooser call fails