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.



12
13
14
# File 'lib/cornucopia/util/report_table.rb', line 12

def initialize(error)
  @error = error
end

Instance Attribute Details

#errorObject

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

#backtraceObject



20
21
22
# File 'lib/cornucopia/util/report_table.rb', line 20

def backtrace
  @error.backtrace
end

#to_sObject



16
17
18
# File 'lib/cornucopia/util/report_table.rb', line 16

def to_s
  @error.to_s
end