Exception: Gel::Error::UnknownCommandError

Inherits:
UserError
  • Object
show all
Defined in:
lib/gel/error.rb

Instance Method Summary collapse

Methods inherited from UserError

#[], #inner_backtrace

Methods included from ReportableError

#details, #exit_code

Constructor Details

#initialize(command_name:) ⇒ UnknownCommandError



116
117
118
# File 'lib/gel/error.rb', line 116

def initialize(command_name:)
  super
end

Instance Method Details

#messageObject



120
121
122
# File 'lib/gel/error.rb', line 120

def message
  "Unknown command #{self[:command_name].inspect}"
end