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.



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

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