blob: 2c16eda11143a4bd2092bdf21d0bbc1fb8da53e6 [file] [log] [blame]
// -*- 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-2009 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