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

Instance Method Details

#preferred_error_infoObject



29
30
31
# File 'spaceship/lib/spaceship/errors.rb', line 29

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



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

def show_github_issues
  false
end