Exception: Binance::ClientError
- Defined in:
- lib/binance/error.rb
Overview
Client error from 400 - 499
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(response = nil) ⇒ ClientError
Returns a new instance of ClientError.
10 11 12 13 |
# File 'lib/binance/error.rb', line 10 def initialize(response = nil) @response = response super(response) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
8 9 10 |
# File 'lib/binance/error.rb', line 8 def response @response end |