Exception: Byebug::CommandNotFound
- Inherits:
-
NoMethodError
- Object
- NoMethodError
- Byebug::CommandNotFound
- Defined in:
- lib/byebug/errors.rb
Overview
Custom exception exception to signal “command not found” errors
Instance Method Summary collapse
-
#initialize(input, parent = nil) ⇒ CommandNotFound
constructor
A new instance of CommandNotFound.
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 |