blob: f2948a4f28314ce6b2c0b173392362ca882a9a15 [file] [log] [blame]
// 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-2007 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