diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
commit | b595cb0c1dec83de5bdee18284abe86614bed33b (patch) | |
tree | 8c3d4540f193c5ff98019352f554e921b3a41a72 /lib/bulk_imports/retry_pipeline_error.rb | |
parent | 2f9104a328fc8a4bddeaa4627b595166d24671d0 (diff) |
Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42
Diffstat (limited to 'lib/bulk_imports/retry_pipeline_error.rb')
-rw-r--r-- | lib/bulk_imports/retry_pipeline_error.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/bulk_imports/retry_pipeline_error.rb b/lib/bulk_imports/retry_pipeline_error.rb new file mode 100644 index 00000000000..a1b02addf45 --- /dev/null +++ b/lib/bulk_imports/retry_pipeline_error.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module BulkImports + class RetryPipelineError < Error + attr_reader :retry_delay + + def initialize(message, retry_delay) + super(message) + + @retry_delay = retry_delay + end + end +end |