2 * Copyright 2017 Google
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 /** Error codes in Firebase error domain. */
18 typedef NS_ENUM(NSInteger, FIRErrorCode) {
22 FIRErrorCodeUnknown = 0,
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.
27 FIRErrorCodeInvalidPlistFile = -100,
30 * Validating the Google App ID format failed.
32 FIRErrorCodeInvalidAppID = -101,
35 * Error code for failing to configure a specific service.
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,
49 * Error codes returned by Dynamic Links
51 FIRErrorCodeDynamicLinksStrongMatchNotAvailable = -124,
52 FIRErrorCodeDynamicLinksManualRetrievalNotEnabled = -125,
53 FIRErrorCodeDynamicLinksPendingLinkOnlyAvailableAtFirstLaunch = -126,
54 FIRErrorCodeDynamicLinksPendingLinkRetrievalAlreadyRunning = -127,