Exception: GitCurate::SystemCommandError
- Inherits:
-
StandardError
- Object
- StandardError
- GitCurate::SystemCommandError
- Defined in:
- lib/git_curate/exceptions.rb
Overview
Error indicating that a system command has exited with a non-success exit status.
Instance Attribute Summary collapse
-
#exit_status ⇒ Object
readonly
Returns the value of attribute exit_status.
Instance Method Summary collapse
-
#initialize(message, exit_status) ⇒ SystemCommandError
constructor
A new instance of SystemCommandError.
Constructor Details
#initialize(message, exit_status) ⇒ SystemCommandError
Returns a new instance of SystemCommandError.
11 12 13 14 |
# File 'lib/git_curate/exceptions.rb', line 11 def initialize(, exit_status) super() @exit_status = exit_status end |
Instance Attribute Details
#exit_status ⇒ Object (readonly)
Returns the value of attribute exit_status.
9 10 11 |
# File 'lib/git_curate/exceptions.rb', line 9 def exit_status @exit_status end |