We are writing an API for iphone developers and we don’t know what the best practice is for exception handling. We looked into NSError, standard POSIX way, NSException
What is the convention that most APIs use? Which is the most “Objective-C friendly”?
From the Introduction to Exception Programming Topics:
…
So as I understand it, only use exceptions when something is fatally wrong. Otherwise, use
NSErrorobjects.