diff options
Diffstat (limited to 'lib/gitlab/github_import/rate_limit_error.rb')
-rw-r--r-- | lib/gitlab/github_import/rate_limit_error.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/gitlab/github_import/rate_limit_error.rb b/lib/gitlab/github_import/rate_limit_error.rb new file mode 100644 index 00000000000..cc2de909c29 --- /dev/null +++ b/lib/gitlab/github_import/rate_limit_error.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Gitlab + module GithubImport + # Error that will be raised when we're about to reach (or have reached) the + # GitHub API's rate limit. + RateLimitError = Class.new(StandardError) + end +end |