Exception: Byebug::CommandNotFound

Inherits:
NoMethodError
  • Object
show all
Defined in:
lib/byebug/errors.rb

Overview

Custom exception exception to signal “command not found” errors

Instance Method Summary collapse

Constructor Details

#initialize(input, parent = nil) ⇒ CommandNotFound

Returns a new instance of CommandNotFound.



6
7
8
9
10
11
# File 'lib/byebug/errors.rb', line 6

def initialize(input, parent = nil)
  @input = input
  @parent = parent

  super("Unknown command '#{name}'. Try '#{help}'")
end