raiseGitlab::UpdatePathError.new("Namespace #{name} (#{id}) cannot be moved because at least one project (e.g. #{proj_with_tags.name} (#{proj_with_tags.id})) has tags in container registry")
raiseGitlab::UpdatePathError,"Namespace #{name} (#{id}) cannot be moved because at least one project (e.g. #{proj_with_tags.name} (#{proj_with_tags.id})) has tags in container registry"
@@ -67,7 +67,7 @@ class Gitlab::Seeder::ComplianceDashboardMergeRequests
merge_request
end
rescue::Gitlab::Access::AccessDeniedError
raise::Gitlab::Access::AccessDeniedError.new("If you are re-creating your GitLab database, you should also delete your old repositories located at $GDK/repositories/@hashed")
raise::Gitlab::Access::AccessDeniedError,"If you are re-creating your GitLab database, you should also delete your old repositories located at $GDK/repositories/@hashed"
raiseArgumentError.new("There are too many records to load. Please select fewer epics or contact your administrator.")ifraw_results.count>=MAXIMUM_LOADABLE
raiseArgumentError,"There are too many records to load. Please select fewer epics or contact your administrator."ifraw_results.count>=MAXIMUM_LOADABLE
# Require the SHA fragment to be 12 characters long
raiseArgumentError.new'invalid pseudo-version: revision is shorter than canonical'unlessversion.commit_id.length==12
raiseArgumentError,'invalid pseudo-version: revision is shorter than canonical'unlessversion.commit_id.length==12
# Require the timestamp to match that of the commit
raiseArgumentError.new'invalid pseudo-version: does not match version-control timestamp'unlesscommit.committed_date.strftime('%Y%m%d%H%M%S')==version.timestamp
raiseArgumentError,'invalid pseudo-version: does not match version-control timestamp'unlesscommit.committed_date.strftime('%Y%m%d%H%M%S')==version.timestamp
raiseCrossSlotError.new("Redis command #{command_name} arguments hash to different slots. See https://docs.gitlab.com/ee/development/redis.html#multi-key-commands")
raiseCrossSlotError,"Redis command #{command_name} arguments hash to different slots. See https://docs.gitlab.com/ee/development/redis.html#multi-key-commands"
raiseKeyFormatError.new("Invalid key format. #{key} key should have changeable parts in curly braces. See https://docs.gitlab.com/ee/development/redis.html#multi-key-commands")
raiseKeyFormatError,"Invalid key format. #{key} key should have changeable parts in curly braces. See https://docs.gitlab.com/ee/development/redis.html#multi-key-commands"
raiseNotImplementedError.new("#{subject}\##{method_name} has arity of #{sub_method_arity}, but #{overridden_parent}\##{method_name} has arity of #{super_method_arity}")
raiseNotImplementedError,"#{subject}\##{method_name} has arity of #{sub_method_arity}, but #{overridden_parent}\##{method_name} has arity of #{super_method_arity}"