Exception: Gitlab::GithubImport::RateLimitError
- Inherits:
-
StandardError
- Object
- StandardError
- Gitlab::GithubImport::RateLimitError
- Defined in:
- lib/gitlab/github_import/rate_limit_error.rb
Overview
Error that will be raised when we’re about to reach (or have reached) the GitHub API’s rate limit.
Instance Attribute Summary collapse
-
#reset_in ⇒ Object
readonly
Returns the value of attribute reset_in.
Instance Method Summary collapse
-
#initialize(message = nil, reset_in = nil) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Constructor Details
#initialize(message = nil, reset_in = nil) ⇒ RateLimitError
Returns a new instance of RateLimitError.
10 11 12 13 |
# File 'lib/gitlab/github_import/rate_limit_error.rb', line 10 def initialize( = nil, reset_in = nil) @reset_in = reset_in super() end |
Instance Attribute Details
#reset_in ⇒ Object (readonly)
Returns the value of attribute reset_in.
8 9 10 |
# File 'lib/gitlab/github_import/rate_limit_error.rb', line 8 def reset_in @reset_in end |