Exception: Kontena::Cli::Services::ExecCommand::ExecExit
- Inherits:
-
StandardError
- Object
- StandardError
- Kontena::Cli::Services::ExecCommand::ExecExit
- Defined in:
- lib/kontena/cli/services/exec_command.rb
Instance Attribute Summary collapse
-
#exit_status ⇒ Object
readonly
Returns the value of attribute exit_status.
Instance Method Summary collapse
-
#initialize(exit_status, message = nil) ⇒ ExecExit
constructor
A new instance of ExecExit.
Constructor Details
#initialize(exit_status, message = nil) ⇒ ExecExit
Returns a new instance of ExecExit.
16 17 18 19 |
# File 'lib/kontena/cli/services/exec_command.rb', line 16 def initialize(exit_status, = nil) super() @exit_status = exit_status end |
Instance Attribute Details
#exit_status ⇒ Object (readonly)
Returns the value of attribute exit_status.
14 15 16 |
# File 'lib/kontena/cli/services/exec_command.rb', line 14 def exit_status @exit_status end |