Exception: ScreenshotFreeAPI::QuotaExceededError

Inherits:
ScreenshotFreeAPIError show all
Defined in:
lib/screenshotfreeapi/errors.rb

Overview

429 with quota body — monthly screenshot quota exhausted.

Instance Attribute Summary

Attributes inherited from ScreenshotFreeAPIError

#details, #error_code, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Monthly screenshot quota exceeded") ⇒ QuotaExceededError

Returns a new instance of QuotaExceededError.



63
64
65
# File 'lib/screenshotfreeapi/errors.rb', line 63

def initialize(msg = "Monthly screenshot quota exceeded")
  super(429, "QuotaExceeded", msg)
end