Exception: Buckaruby::ConnectionException
- Inherits:
-
BuckarooException
- Object
- StandardError
- BuckarooException
- Buckaruby::ConnectionException
- Defined in:
- lib/buckaruby/exception.rb
Overview
Exception raised when a request to Buckaroo fails because of connection problems.
Instance Method Summary collapse
-
#initialize(exception) ⇒ ConnectionException
constructor
A new instance of ConnectionException.
Constructor Details
#initialize(exception) ⇒ ConnectionException
Returns a new instance of ConnectionException.
42 43 44 45 |
# File 'lib/buckaruby/exception.rb', line 42 def initialize(exception) = "Error connecting to Buckaroo: #{exception.} (#{exception.class})" super() end |