Exception: Spaceship::AppStoreLocaleError
- Inherits:
-
BasicPreferredInfoError
- Object
- Exception
- StandardError
- BasicPreferredInfoError
- Spaceship::AppStoreLocaleError
- Defined in:
- spaceship/lib/spaceship/errors.rb
Overview
Base class for errors coming from App Store Connect locale changes
Direct Known Subclasses
AppStoreAppPreviewError, AppStoreLocalizationError, AppStoreScreenshotError
Constant Summary
Constants inherited from BasicPreferredInfoError
BasicPreferredInfoError::TITLE
Instance Method Summary collapse
-
#initialize(locale, error) ⇒ AppStoreLocaleError
constructor
A new instance of AppStoreLocaleError.
-
#show_github_issues ⇒ Object
no need to search github issues since the error is specific.
Methods inherited from BasicPreferredInfoError
Methods inherited from StandardError
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.respond_to?(:message) ? error. : error.to_s locale_str = locale || "unknown" @message = "An exception has occurred for locale: #{locale_str}.\nError: #{}" super(@message) end |
Instance Method Details
#show_github_issues ⇒ Object
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 |