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.


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

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