Exception: Morpheus::Cli::CommandNotFoundError
- Inherits:
-
CommandError
- Object
- StandardError
- CommandError
- Morpheus::Cli::CommandNotFoundError
- Defined in:
- lib/morpheus/cli/errors.rb
Overview
An error indicating the command was not recognized, assigned exit code 127
Instance Attribute Summary
Attributes inherited from CommandError
Instance Method Summary collapse
-
#initialize(msg, args = [], optparse = nil, exit_code = nil) ⇒ CommandNotFoundError
constructor
A new instance of CommandNotFoundError.
Constructor Details
#initialize(msg, args = [], optparse = nil, exit_code = nil) ⇒ CommandNotFoundError
Returns a new instance of CommandNotFoundError.
20 21 22 |
# File 'lib/morpheus/cli/errors.rb', line 20 def initialize(msg, args=[], optparse=nil, exit_code=nil) super(msg, args, optparse, exit_code || 127) end |