cocoa-dev,

I've read the Error Handling Programming Guide For Cocoa and I'd very
much like to confer with other Cocoa developers how they do their
error handling using NSError.

My application, as most applications, I guess, can fail several
functional areas and for many reasons.  I'd like my application to
have good error handling mechanisms in place that capture errors
accurately.

For smaller applications, is it common practice to define an error
domain for the entire application using the
com.company.app.ErrorDomain naming scheme and then define error codes
and keys for localized error descriptions in a centralized header file
or error utility class used throughout the application?

The above is my planned approach, at least.  Feedback and tips are most welcome.

Many thanks,


Christian
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to