Exception: MyTargetApi::ConnectionError
- Inherits:
-
StandardError
- Object
- StandardError
- MyTargetApi::ConnectionError
- Defined in:
- lib/my_target_api/connection_error.rb
Overview
Error class
Instance Method Summary collapse
-
#initialize(exception) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
- #message ⇒ Object
Constructor Details
#initialize(exception) ⇒ ConnectionError
Returns a new instance of ConnectionError.
7 8 9 |
# File 'lib/my_target_api/connection_error.rb', line 7 def initialize(exception) @exception = exception end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/my_target_api/connection_error.rb', line 11 def @exception. end |