Exception: Binance::RequiredParameterError

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

Overview

Error when missing required params

Instance Method Summary collapse

Constructor Details

#initialize(param_name, param_value) ⇒ RequiredParameterError

Returns a new instance of RequiredParameterError.



22
23
24
25
26
# File 'lib/binance/error.rb', line 22

def initialize(param_name, param_value)
  super(
    "ValidationFailed: #{param_name} is required, but provided value: #{param_value}"
  )
end