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



134
135
136
# File 'lib/hanami/cli/errors.rb', line 134

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