added iOS source code
[wl-app.git] / iOS / Pods / FirebaseCore / Firebase / Core / Private / FIRErrorCode.h
1 /*
2  * Copyright 2017 Google
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /** Error codes in Firebase error domain. */
18 typedef NS_ENUM(NSInteger, FIRErrorCode) {
19   /**
20    * Unknown error.
21    */
22   FIRErrorCodeUnknown = 0,
23   /**
24    * Loading data from the GoogleService-Info.plist file failed. This is a fatal error and should
25    * not be ignored. Further calls to the API will fail and/or possibly cause crashes.
26    */
27   FIRErrorCodeInvalidPlistFile = -100,
28
29   /**
30    * Validating the Google App ID format failed.
31    */
32   FIRErrorCodeInvalidAppID = -101,
33
34   /**
35    * Error code for failing to configure a specific service.
36    */
37   FIRErrorCodeAdMobFailed = -110,
38   FIRErrorCodeAppInviteFailed = -112,
39   FIRErrorCodeCloudMessagingFailed = -113,
40   FIRErrorCodeConfigFailed = -114,
41   FIRErrorCodeDatabaseFailed = -115,
42   FIRErrorCodeCrashReportingFailed = -118,
43   FIRErrorCodeDurableDeepLinkFailed = -119,
44   FIRErrorCodeAuthFailed = -120,
45   FIRErrorCodeInstanceIDFailed = -121,
46   FIRErrorCodeStorageFailed = -123,
47
48   /**
49    * Error codes returned by Dynamic Links
50    */
51   FIRErrorCodeDynamicLinksStrongMatchNotAvailable = -124,
52   FIRErrorCodeDynamicLinksManualRetrievalNotEnabled = -125,
53   FIRErrorCodeDynamicLinksPendingLinkOnlyAvailableAtFirstLaunch = -126,
54   FIRErrorCodeDynamicLinksPendingLinkRetrievalAlreadyRunning = -127,
55 };