diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2018-01-10 14:44:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 14:44:32 -0800 |
commit | ed671eee8cc7e3a7498aac3c23f5e0bcc35334d3 (patch) | |
tree | a08887e3a4fcf042741f04ea271235a16dec472a /Firebase/Core/FIRApp.m | |
parent | 90dedd3d024a2859d0cf514efbfc97e471891c18 (diff) |
Update Core style (#641)
Diffstat (limited to 'Firebase/Core/FIRApp.m')
-rw-r--r-- | Firebase/Core/FIRApp.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Firebase/Core/FIRApp.m b/Firebase/Core/FIRApp.m index b5e043f..22c9369 100644 --- a/Firebase/Core/FIRApp.m +++ b/Firebase/Core/FIRApp.m @@ -381,9 +381,7 @@ static FIRApp *sDefaultApp; [NSString stringWithFormat:@"Configuration failed for service %@.", service]; NSDictionary *errorDict = @{NSLocalizedDescriptionKey : description, NSLocalizedFailureReasonErrorKey : reason}; - return [NSError errorWithDomain:domain - code:code - userInfo:errorDict]; + return [NSError errorWithDomain:domain code:code userInfo:errorDict]; } + (NSError *)errorForInvalidAppID { |