| Index: class-dump/src/NSError-CDExtensions.m
|
| ===================================================================
|
| --- class-dump/src/NSError-CDExtensions.m (revision 0)
|
| +++ class-dump/src/NSError-CDExtensions.m (revision 0)
|
| @@ -0,0 +1,22 @@
|
| +// -*- mode: ObjC -*-
|
| +
|
| +// This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files.
|
| +// Copyright (C) 1997-1998, 2000-2001, 2004-2010 Steve Nygard.
|
| +
|
| +#import "NSError-CDExtensions.h"
|
| +
|
| +@implementation NSError (CDExtensions)
|
| +
|
| +// The normal methods confuse me, and it's late.
|
| +- (NSString *)myExplanation;
|
| +{
|
| + NSString *str;
|
| +
|
| + str = [[self userInfo] objectForKey:@"explanation"];
|
| + if (str != nil)
|
| + return str;
|
| +
|
| + return [self description];
|
| +}
|
| +
|
| +@end
|
|
|
| Property changes on: class-dump/src/NSError-CDExtensions.m
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|