Exception: Datadog::CI::Git::LocalRepository::GitCommandExecutionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/datadog/ci/git/local_repository.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, output:, command:, status:)
  super(message)

  @output = output
  @command = command
  @status = status
end

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



15
16
17
# File 'lib/datadog/ci/git/local_repository.rb', line 15

def command
  @command
end

#outputObject (readonly)

Returns the value of attribute output.



15
16
17
# File 'lib/datadog/ci/git/local_repository.rb', line 15

def output
  @output
end

#statusObject (readonly)

Returns the value of attribute status.



15
16
17
# File 'lib/datadog/ci/git/local_repository.rb', line 15

def status
  @status
end