Exception: Spaceship::AppStoreLocaleError

Inherits:
BasicPreferredInfoError show all
Defined in:
spaceship/lib/spaceship/errors.rb

Overview

Base class for errors coming from App Store Connect locale changes

Constant Summary

Constants inherited from BasicPreferredInfoError

BasicPreferredInfoError::TITLE

Instance Method Summary collapse

Methods inherited from BasicPreferredInfoError

#preferred_error_info

Methods inherited from StandardError

#exit_status

Methods inherited from Exception

#fastlane_should_report_metrics?

Constructor Details

#initialize(locale, error) ⇒ AppStoreLocaleError



119
120
121
122
123
124
# File 'spaceship/lib/spaceship/errors.rb', line 119

def initialize(locale, error)
  error_message = error.respond_to?(:message) ? error.message : error.to_s
  locale_str = locale || "unknown"
  @message = "An exception has occurred for locale: #{locale_str}.\nError: #{error_message}"
  super(@message)
end

Instance Method Details

#show_github_issuesObject

no need to search github issues since the error is specific



127
128
129
# File 'spaceship/lib/spaceship/errors.rb', line 127

def show_github_issues
  false
end