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.



8
9
10
11
12
13
# File 'lib/byebug/errors.rb', line 8

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

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