Exception: Uncov::UnsupportedReportTypeError
- Inherits:
-
ReportError
- Object
- StandardError
- Error
- ReportError
- Uncov::UnsupportedReportTypeError
- Defined in:
- lib/uncov.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ UnsupportedReportTypeError
constructor
A new instance of UnsupportedReportTypeError.
- #message ⇒ Object
Methods inherited from Error
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
#type ⇒ Object (readonly)
Returns the value of attribute type.
86 87 88 |
# File 'lib/uncov.rb', line 86 def type @type end |
Instance Method Details
#message ⇒ Object
89 |
# File 'lib/uncov.rb', line 89 def = "#{type.inspect} is not a supported report type" |