Exception: Hanami::CLI::ConflictingOptionsError

Inherits:
Error
  • Object
show all
Defined in:
lib/hanami/cli/errors.rb

Overview

Since:

  • 2.2.0

Instance Method Summary collapse

Constructor Details

#initialize(option1, option2) ⇒ ConflictingOptionsError

Returns a new instance of ConflictingOptionsError.

Since:

  • 2.2.0



106
107
108
# File 'lib/hanami/cli/errors.rb', line 106

def initialize(option1, option2)
  super("`#{option1}' and `#{option2}' cannot be used together")
end