Exception: Spaceship::InsufficientPermissions

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

Overview

User doesn’t have enough permission for given action

Constant Summary collapse

TITLE =
'Insufficient permissions for your Apple ID:'.freeze

Instance Method Summary collapse

Methods inherited from StandardError

#exit_status

Methods inherited from Exception

#fastlane_should_report_metrics?

Instance Method Details

#preferred_error_infoObject



35
36
37
# File 'spaceship/lib/spaceship/errors.rb', line 35

def preferred_error_info
  message ? [TITLE, message] : nil
end

#show_github_issuesObject

We don’t want to show similar GitHub issues, as the error message should be pretty clear



41
42
43
# File 'spaceship/lib/spaceship/errors.rb', line 41

def show_github_issues
  false
end