Exception: Topsy::TopsyError
- Inherits:
-
StandardError
- Object
- StandardError
- Topsy::TopsyError
- Defined in:
- lib/topsy/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ TopsyError
constructor
A new instance of TopsyError.
Constructor Details
#initialize(data) ⇒ TopsyError
Returns a new instance of TopsyError.
5 6 7 8 |
# File 'lib/topsy/errors.rb', line 5 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/topsy/errors.rb', line 3 def data @data end |