Exception: Datadog::CI::Git::CLI::GitCommandExecutionError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::CI::Git::CLI::GitCommandExecutionError
- Defined in:
- lib/datadog/ci/git/cli.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, output:, command:, status:) ⇒ GitCommandExecutionError
constructor
A new instance of GitCommandExecutionError.
Constructor Details
#initialize(message, output:, command:, status:) ⇒ GitCommandExecutionError
Returns a new instance of GitCommandExecutionError.
11 12 13 14 15 16 17 |
# File 'lib/datadog/ci/git/cli.rb', line 11 def initialize(, output:, command:, status:) super() @output = output @command = command @status = status end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
10 11 12 |
# File 'lib/datadog/ci/git/cli.rb', line 10 def command @command end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
10 11 12 |
# File 'lib/datadog/ci/git/cli.rb', line 10 def output @output end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
10 11 12 |
# File 'lib/datadog/ci/git/cli.rb', line 10 def status @status end |