Exception: FastlaneCore::Interface::FastlaneError

Inherits:
FastlaneException show all
Defined in:
fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from FastlaneException

#caused_by_calling_ui_method?

Methods inherited from StandardError

#exit_status

Methods inherited from Exception

#fastlane_should_report_metrics?

Constructor Details

#initialize(show_github_issues: false, error_info: nil) ⇒ FastlaneError

Returns a new instance of FastlaneError.


9
10
11
12
# File 'fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb', line 9

def initialize(show_github_issues: false, error_info: nil)
  @show_github_issues = show_github_issues
  @error_info = error_info
end

Instance Attribute Details

#error_infoObject (readonly)

Returns the value of attribute error_info


7
8
9
# File 'fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb', line 7

def error_info
  @error_info
end

#show_github_issuesObject (readonly)

Returns the value of attribute show_github_issues


6
7
8
# File 'fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb', line 6

def show_github_issues
  @show_github_issues
end

Instance Method Details

#prefixObject


14
15
16
# File 'fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb', line 14

def prefix
  '[USER_ERROR]'
end