Exception: Datadog::CI::Git::LocalRepository::GitCommandExecutionError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::CI::Git::LocalRepository::GitCommandExecutionError
- Defined in:
- lib/datadog/ci/git/local_repository.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.
16 17 18 19 20 21 22 |
# File 'lib/datadog/ci/git/local_repository.rb', line 16 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.
15 16 17 |
# File 'lib/datadog/ci/git/local_repository.rb', line 15 def command @command end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
15 16 17 |
# File 'lib/datadog/ci/git/local_repository.rb', line 15 def output @output end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
15 16 17 |
# File 'lib/datadog/ci/git/local_repository.rb', line 15 def status @status end |