Exception: Cornucopia::Util::ReportTable::ReportTableException
- Inherits:
-
Exception
- Object
- Exception
- Cornucopia::Util::ReportTable::ReportTableException
- Defined in:
- lib/cornucopia/util/report_table.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
- #backtrace ⇒ Object
-
#initialize(error) ⇒ ReportTableException
constructor
A new instance of ReportTableException.
- #to_s ⇒ Object
Constructor Details
#initialize(error) ⇒ ReportTableException
Returns a new instance of ReportTableException.
12 13 14 |
# File 'lib/cornucopia/util/report_table.rb', line 12 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
10 11 12 |
# File 'lib/cornucopia/util/report_table.rb', line 10 def error @error end |
Instance Method Details
#backtrace ⇒ Object
20 21 22 |
# File 'lib/cornucopia/util/report_table.rb', line 20 def backtrace @error.backtrace end |
#to_s ⇒ Object
16 17 18 |
# File 'lib/cornucopia/util/report_table.rb', line 16 def to_s @error.to_s end |