debian-mirror-gitlab/lib/bulk_imports/error.rb
2021-09-30 23:02:18 +05:30

9 lines
262 B
Ruby

# frozen_string_literal: true
module BulkImports
class Error < StandardError
def self.unsupported_gitlab_version
self.new("Unsupported GitLab Version. Minimum Supported Gitlab Version #{BulkImport::MINIMUM_GITLAB_MAJOR_VERSION}.")
end
end
end