Exception: Morpheus::Cli::CommandAborted
- Inherits:
-
CommandError
- Object
- StandardError
- CommandError
- Morpheus::Cli::CommandAborted
- Defined in:
- lib/morpheus/cli/errors.rb
Overview
An error indicating the user declined to accept a confirmation prompt, assigned exit code 9
Instance Attribute Summary
Attributes inherited from CommandError
Instance Method Summary collapse
-
#initialize(msg, args = [], optparse = nil, exit_code = nil) ⇒ CommandAborted
constructor
A new instance of CommandAborted.
Constructor Details
#initialize(msg, args = [], optparse = nil, exit_code = nil) ⇒ CommandAborted
Returns a new instance of CommandAborted.
48 49 50 |
# File 'lib/morpheus/cli/errors.rb', line 48 def initialize(msg, args=[], optparse=nil, exit_code=nil) super(msg, args, optparse, exit_code || 9) end |