Questions about NSError
Questions about NSError
- Subject: Questions about NSError
- From: Joakim Danielson <email@hidden>
- Date: Fri, 28 Jan 2005 12:35:22 +0100
Hi
I'm looking into a way to improve error handling in my application. I
will base it on key-value validation so I can use it both via bindings
and my persistence layer. Before starting I have some questions about
the NSError class.
What is the purpose of the domain and code attributes and more
specifically, what is (if there is any) the connection between them and
the error messages I create?
Should I create different domains for different codes? Is there any
advantage with this?
Any good articles or example code for this?
Joakim
PS
I have read up on key-value validation and the NSError class. I have
also checked the archives, googled and looked in my cocoa books but
this doesn't seem to be the most popular subject :-)
DS
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden