class Stella::Report::Errors
Public Instance Methods
all()
click to toggle source
# File lib/stella/report.rb, line 88 def all [@exceptions, @timeouts, @fubars].flatten end
exceptions?()
click to toggle source
# File lib/stella/report.rb, line 79 def exceptions? !@exceptions.nil? && !@exceptions.empty? end
fubars?()
click to toggle source
# File lib/stella/report.rb, line 85 def fubars? !@fubars.nil? && !@fubars.empty? end
process(filter={})
click to toggle source
# File lib/stella/report.rb, line 73 def process(filter={}) @exceptions = report.timeline.messages.filter(:kind => :http_log, :state => :exception) @timeouts = report.timeline.messages.filter(:kind => :http_log, :state => :timeout) @fubars = report.timeline.messages.filter(:kind => :http_log, :state => :fubar) processed! end
timeouts?()
click to toggle source
# File lib/stella/report.rb, line 82 def timeouts? !@timeouts.nil? && !@timeouts.empty? end