debian-mirror-gitlab/lib/gitlab/git/reference_update_error.rb
2022-04-04 11:22:00 +05:30

16 lines
408 B
Ruby

# frozen_string_literal: true
module Gitlab
module Git
# ReferenceUpdateError represents an error that happen when trying to
# update a Git reference.
class ReferenceUpdateError < StandardError
def initialize(message, reference, old_oid, new_oid)
@message = message
@reference = reference
@old_oid = old_oid
@new_oid = new_oid
end
end
end
end