Disable automatic termination when simulation is active. This is probably a good...
[enjoyable.git] / Categories / NSError+Description.m
1 #import "NSError+Description.h"
2
3 @implementation NSError (Description)
4
5 + (NSError *)errorWithDomain:(NSString *)domain
6 code:(NSInteger)code
7 description:(NSString *)description {
8 NSDictionary *errorDict = @{ NSLocalizedDescriptionKey : description };
9 return [NSError errorWithDomain:domain code:code userInfo:errorDict];
10
11 }
12
13 @end