Exception: Ethon::Errors::InvalidOption

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

Overview

Raises when option is invalid.

Instance Method Summary collapse

Constructor Details

#initialize(option) ⇒ InvalidOption

Returns a new instance of InvalidOption.



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

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