Exception: FastlaneCore::Interface::FastlaneException
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- FastlaneCore::Interface::FastlaneException
- Defined in:
- fastlane_core/lib/fastlane_core/ui/errors/fastlane_exception.rb
Direct Known Subclasses
FastlaneCommonException, FastlaneCrash, FastlaneError, FastlaneShellError
Instance Method Summary collapse
Methods inherited from StandardError
Methods inherited from Exception
#fastlane_should_report_metrics?
Instance Method Details
#caused_by_calling_ui_method?(method_name: nil) ⇒ Boolean
8 9 10 11 12 13 14 15 16 |
# File 'fastlane_core/lib/fastlane_core/ui/errors/fastlane_exception.rb', line 8 def caused_by_calling_ui_method?(method_name: nil) return false if backtrace.nil? || backtrace[0].nil? || method_name.nil? first_frame = backtrace[0] if first_frame.include?(method_name) && first_frame.include?('interface.rb') true else false end end |
#prefix ⇒ Object
4 5 6 |
# File 'fastlane_core/lib/fastlane_core/ui/errors/fastlane_exception.rb', line 4 def prefix '[FASTLANE_EXCEPTION]' end |