Re: Define NSError Domain
Re: Define NSError Domain
- Subject: Re: Define NSError Domain
- From: Andreas Mayer <email@hidden>
- Date: Sat, 24 Sep 2005 02:02:36 +0200
Am 24.09.2005 um 01:52 Uhr schrieb Johan Kool:
But how do I define my own domains?
From the documentation:
----
+ (id)errorWithDomain:(NSString *)domain code:(int)code userInfo:
(NSDictionary *)dict
Creates and initializes an NSError object for domain with the
specified error code and the dictionary of arbitrary data userInfo.
The domain must not be nil. The userInfo may be nil.
----
Andreas
_______________________________________________
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