Exception: Cornucopia::Util::ReportTable::ReportTableException

Inherits:
Exception
  • Object
show all
Defined in:
lib/cornucopia/util/report_table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ ReportTableException

Returns a new instance of ReportTableException.



10
11
12
# File 'lib/cornucopia/util/report_table.rb', line 10

def initialize(error)
  @error = error
end

Instance Attribute Details

#error ⇒ Object

Returns the value of attribute error.



8
9
10
# File 'lib/cornucopia/util/report_table.rb', line 8

def error
  @error
end

Instance Method Details

#backtrace ⇒ Object



18
19
20
# File 'lib/cornucopia/util/report_table.rb', line 18

def backtrace
  @error.backtrace
end

#to_s ⇒ Object



14
15
16
# File 'lib/cornucopia/util/report_table.rb', line 14

def to_s
  @error.to_s
end