Exception: Spaceship::BasicPreferredInfoError

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

Overview

Base class for errors that want to present their message as preferred error info for fastlane error handling. See: fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb

Constant Summary collapse

TITLE =
'The request could not be completed because:'.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



8
9
10
# File 'spaceship/lib/spaceship/errors.rb', line 8

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