Lines Matching refs:userInfo
30 return [self createErrorWithCode:code userInfo:@{ NSLocalizedDescriptionKey : description }];
36 return [self createErrorWithCode:FRAFileError userInfo:@{ NSLocalizedDescriptionKey : reason, NSFilePathErrorKey : path }];
44 return [self createErrorWithCode:code userInfo:@{ NSLocalizedDescriptionKey : reason }];
47 + (NSError *)createError:(NSString *)reason code:(enum FRAErrorCodes)code userInfo:(NSDictionary *)userInfo {
48 NSMutableDictionary *info = [userInfo mutableCopy];
50 return [self createErrorWithCode:code userInfo:info];
55 NSDictionary *userInfo = @{NSLocalizedDescriptionKey : reason, NSUnderlyingErrorKey : underlyingError};
56 return [self createErrorWithCode:code userInfo:userInfo];
63 return [NSException exceptionWithName:@"IllegalStateException" reason:reason userInfo:nil];
66 + (NSError *)createErrorWithCode:(int)code userInfo:(NSDictionary *)errorDictionary {
67 return [[NSError alloc] initWithDomain:FRAErrorDomain code:code userInfo:errorDictionary];