Exception: Morpheus::Cli::CommandNotFoundError

Inherits:
CommandError
  • Object
show all
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

#args, #exit_code, #optparse

Instance Method Summary collapse

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