Coconut I/O Framework  beta
CNErrorExtension.h
Go to the documentation of this file.
00001 
00008 #import <Foundation/Foundation.h>
00009 
00015 typedef enum {
00016     CNIONoError             = 0,    
00017     CNIOParseError,
00018     CNIOParameterError
00019 } CNIOErrorCode ;
00020 
00024 @interface NSError (CNErrorExtending)
00025 
00037 - (id) initWithDomain: (NSString *) domain
00038                  code: (NSInteger) code
00039           description: (NSString *) desc
00040         failureReason: (NSString *) reason
00041        recoveryOption: (NSString *) recovopt
00042              filePath: (NSString *) fpath ;
00043 
00049 - (NSString *) description ;
00055 - (NSString *) failureReason ;
00061 - (NSString *) recoveryOption ;
00067 - (NSString *) filePath ;
00068 
00073 - (void) debugContents: (FILE *) outfp ;
00074 
00075 @end