Module Stella::Report::Errors::ReportMethods

  1. lib/stella/report.rb

Methods

public instance

  1. error_count
  2. errors?
  3. exceptions?
  4. fubars?
  5. timeouts?

Public instance methods

error_count ()
[show source]
# File lib/stella/report.rb, line 104
        def error_count
          errors.all.size
        end
errors? ()

expects Statuses plugin is loaded

[show source]
# File lib/stella/report.rb, line 93
        def errors?
          exceptions? || timeouts? || fubars? || (statuses && !statuses.nonsuccessful.empty?)
        end
exceptions? ()
[show source]
# File lib/stella/report.rb, line 96
        def exceptions?
          return false unless processed? && errors
          errors.exceptions?
        end
fubars? ()
[show source]
# File lib/stella/report.rb, line 107
        def fubars?
          return false unless processed? && errors
          errors.fubars?
        end
timeouts? ()
[show source]
# File lib/stella/report.rb, line 100
        def timeouts?
          return false unless processed? && errors
          errors.timeouts?
        end