Exception: Shodanz::Errors::RateLimited
- Inherits:
-
StandardError
- Object
- StandardError
- Shodanz::Errors::RateLimited
- Defined in:
- lib/shodanz/errors.rb
Instance Method Summary collapse
-
#initialize(msg = 'Request rate limit reached (1 request/ second). Please wait a second before trying again and slow down your API calls.') ⇒ RateLimited
constructor
A new instance of RateLimited.
Constructor Details
#initialize(msg = 'Request rate limit reached (1 request/ second). Please wait a second before trying again and slow down your API calls.') ⇒ RateLimited
Returns a new instance of RateLimited.
6 7 8 |
# File 'lib/shodanz/errors.rb', line 6 def initialize(msg = 'Request rate limit reached (1 request/ second). Please wait a second before trying again and slow down your API calls.') super end |