rfm@gnu.org
)Copyright: (C) 2004 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSError.h
- Conforms to:
- NSCopying
- NSCoding
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Error information class
Method summaryCreates and returns an autoreleased NSError instance by calling -initWithDomain:code:userInfo:
Return the error code... which is not globally unique, just unique for a particular domain.
Return the domain for this instance.
Initialises the receiver using the supplied
domain, code, and info.
The domain musat be
non-nil.
Return a human readable description for the error.
The default implementation uses the value
from the user info dictionary if it is available,
otherwise it generates a generic one from domain
and code.
Return the user info for this instance (or
nil
if none is set)
The
NSLocalizedDescriptionKey should
locate a human readable description in the
dictionary.
The NSUnderlyingErrorKey key
should locate an NSError instance if an error is
available describing any underlying problem.