Exception: Gitlab::Git::ReferenceUpdateError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gitlab/git/reference_update_error.rb

Overview

ReferenceUpdateError represents an error that happen when trying to update a Git reference.

Instance Method Summary collapse

Constructor Details

#initialize(message, reference, old_oid, new_oid) ⇒ ReferenceUpdateError

Returns a new instance of ReferenceUpdateError.



8
9
10
11
12
13
# File 'lib/gitlab/git/reference_update_error.rb', line 8

def initialize(message, reference, old_oid, new_oid)
  @message = message
  @reference = reference
  @old_oid = old_oid
  @new_oid = new_oid
end