[iOS] Fix Error management API