Exception: Restruct::ConnectionError
- Defined in:
- lib/restruct/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
- #backtrace ⇒ Object
-
#initialize(inner_exception) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
- #message ⇒ Object
Constructor Details
#initialize(inner_exception) ⇒ ConnectionError
Returns a new instance of ConnectionError.
14 15 16 |
# File 'lib/restruct/errors.rb', line 14 def initialize(inner_exception) @inner_exception = inner_exception end |
Instance Method Details
#backtrace ⇒ Object
22 23 24 |
# File 'lib/restruct/errors.rb', line 22 def backtrace @inner_exception.backtrace end |
#message ⇒ Object
18 19 20 |
# File 'lib/restruct/errors.rb', line 18 def @inner_exception. end |