Exception: ScreenshotFreeAPI::PaymentRequiredError

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

Overview

402 — Subscription cancelled or payment overdue.

Instance Attribute Summary

Attributes inherited from ScreenshotFreeAPIError

#details, #error_code, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Payment required — subscription cancelled or payment overdue") ⇒ PaymentRequiredError

Returns a new instance of PaymentRequiredError.



46
47
48
# File 'lib/screenshotfreeapi/errors.rb', line 46

def initialize(msg = "Payment required — subscription cancelled or payment overdue")
  super(402, "PaymentRequired", msg)
end