Exception: Ethon::Errors::InvalidValue

Inherits:
EthonError
  • Object
show all
Defined in:
lib/ethon/errors/invalid_value.rb

Overview

Raises when option is invalid.

Instance Method Summary collapse

Constructor Details

#initialize(option, value) ⇒ InvalidValue

Returns a new instance of InvalidValue.


6
7
8
# File 'lib/ethon/errors/invalid_value.rb', line 6

def initialize(option, value)
  super("The value: #{value} is invalid for option: #{option}.")
end