Exception: Binance::ClientError

Inherits:
Error
  • Object
show all
Defined in:
lib/binance/error.rb

Overview

Client error from 400 - 499

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

Returns the value of attribute response.



8
9
10
# File 'lib/binance/error.rb', line 8

def response
  @response
end