Exception: Uncov::UnsupportedReportTypeError

Inherits:
ReportError show all
Defined in:
lib/uncov.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#inspect

Constructor Details

#initialize(type) ⇒ UnsupportedReportTypeError

Returns a new instance of UnsupportedReportTypeError.



88
# File 'lib/uncov.rb', line 88

def initialize(type) = @type = type

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



86
87
88
# File 'lib/uncov.rb', line 86

def type
  @type
end

Instance Method Details

#messageObject



89
# File 'lib/uncov.rb', line 89

def message = "#{type.inspect} is not a supported report type"