Sha256: 579abea2b14b4a7fc14e8a6e39cdc67685e91c4c7bed9627e59e8eb143f8745a

Contents?: true

Size: 572 Bytes

Versions: 16

Compression:

Stored size: 572 Bytes

Contents

module FastlaneCore
  class Interface
    class FastlaneError < FastlaneException
      attr_reader :show_github_issues
      attr_reader :error_info

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

      def prefix
        '[USER_ERROR]'
      end

      def trimmed_backtrace
        trim_backtrace(method_name: 'user_error!')
      end

      def could_contain_pii?
        caused_by_calling_ui_method?(method_name: 'user_error!')
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fastlane-2.35.1 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.36.0.beta.20170526010038 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.36.0.beta.20170525010052 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.35.0 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.34.0 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.34.0.beta.20170524010028 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.33.0 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.33.0.beta.20170523010027 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.33.0.beta.20170522010027 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.33.0.beta.20170521010032 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.33.0.beta.20170520010019 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.32.1 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.33.0.beta.20170519010039 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.32.0 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.32.0.beta.20170518010031 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb
fastlane-2.31.0 fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb