Exception: Stalkr::Error
- Inherits:
-
Exception
- Object
- Exception
- Stalkr::Error
- Defined in:
- lib/stalkr/error.rb
Instance Attribute Summary collapse
-
#html ⇒ Object
Returns the value of attribute html.
Instance Method Summary collapse
-
#initialize(ex, html) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(ex, html) ⇒ Error
Returns a new instance of Error.
8 9 10 11 12 |
# File 'lib/stalkr/error.rb', line 8 def initialize(ex, html) super(ex.) self.set_backtrace(ex.backtrace) self.html = html end |
Instance Attribute Details
#html ⇒ Object
Returns the value of attribute html.
6 7 8 |
# File 'lib/stalkr/error.rb', line 6 def html @html end |