Module: ErrorMessage

Defined in:
lib/fastlane/plugin/firebase_app_distribution/helper/firebase_app_distribution_error_message.rb

Constant Summary collapse

MISSING_CREDENTIALS =
"Missing authentication credentials. Check that your Firebase refresh token is set or that your service account file path is correct and try again."
MISSING_APP_ID =
"Missing app id. Please check that the app parameter is set and try again"
SERVICE_CREDENTIALS_NOT_FOUND =
"Service credentials file does not exist. Please check the service credentials path and try again"
PARSE_SERVICE_CREDENTIALS_ERROR =
"Failed to extract service account information from the service credentials file"
UPLOAD_RELEASE_NOTES_ERROR =
"App Distribution halted because it had a problem uploading release notes"
UPLOAD_TESTERS_ERROR =
"App Distribution halted because it had a problem adding testers/groups"
GET_RELEASE_TIMEOUT =
"App Distribution failed to fetch release information"
REFRESH_TOKEN_ERROR =
"App Distribution could not generate credentials from the refresh token specified."
APP_NOT_ONBOARDED_ERROR =
"App Distribution not onboarded"
INVALID_APP_ID =
"App Distribution could not find your app. Make sure to onboard your app by pressing the \"Get started\" button on the App Distribution page in the Firebase console: https://console.firebase.google.com/project/_/appdistribution. App ID"
INVALID_PROJECT =
"App Distribution could not find your Firebase project. Make sure to onboard an app in your project by pressing the \"Get started\" button on the App Distribution page in the Firebase console: https://console.firebase.google.com/project/_/appdistribution."
INVALID_PATH =
"Could not read content from"
INVALID_TESTERS =
"Could not enable access for testers. Check that the groups exist and the tester emails are formatted correctly"
INVALID_RELEASE_NOTES =
"Failed to add release notes"
SERVICE_CREDENTIALS_ERROR =
"App Distribution could not generate credentials from the service credentials file specified"
PLAY_ACCOUNT_NOT_LINKED =
"This project is not linked to a Google Play account."
APP_NOT_PUBLISHED =
"This app is not published in the Google Play console."
NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT =
"App with matching package name does not exist in Google Play."
PLAY_IAS_TERMS_NOT_ACCEPTED =
"You must accept the Play Internal App Sharing (IAS) terms to upload AABs."
INVALID_EMAIL_ADDRESS =
"You passed an invalid email address."
TESTER_LIMIT_VIOLATION =
"Creating testers would exceed tester limit"

Class Method Summary collapse

Class Method Details

.aab_upload_error(aab_state) ⇒ Object



24
25
26
# File 'lib/fastlane/plugin/firebase_app_distribution/helper/firebase_app_distribution_error_message.rb', line 24

def self.aab_upload_error(aab_state)
  "Failed to process the AAB: #{aab_state}"
end

.binary_not_found(binary_type) ⇒ Object



28
29
30
# File 'lib/fastlane/plugin/firebase_app_distribution/helper/firebase_app_distribution_error_message.rb', line 28

def self.binary_not_found(binary_type)
  "Could not find the #{binary_type}. Make sure you set the #{binary_type} path parameter to point to your #{binary_type}"
end

.binary_processing_error(binary_type) ⇒ Object



40
41
42
# File 'lib/fastlane/plugin/firebase_app_distribution/helper/firebase_app_distribution_error_message.rb', line 40

def self.binary_processing_error(binary_type)
  "App Distribution failed to process the #{binary_type}"
end

.parse_binary_metadata_error(binary_type) ⇒ Object



32
33
34
# File 'lib/fastlane/plugin/firebase_app_distribution/helper/firebase_app_distribution_error_message.rb', line 32

def self.(binary_type)
  "Failed to extract #{binary_type} metadata from the #{binary_type} path"
end

.upload_binary_error(binary_type) ⇒ Object



36
37
38
# File 'lib/fastlane/plugin/firebase_app_distribution/helper/firebase_app_distribution_error_message.rb', line 36

def self.upload_binary_error(binary_type)
  "App Distribution halted because it had a problem uploading the #{binary_type}"
end