Exception: Enconvert::QuotaError

Inherits:
APIError show all
Defined in:
lib/enconvert/errors.rb

Overview

HTTP 402 — plan feature not enabled or monthly quota exhausted. V2 endpoints raise this for disabled/quota-gated features.

Instance Attribute Summary

Attributes inherited from APIError

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Plan feature not enabled or quota exhausted") ⇒ QuotaError

Returns a new instance of QuotaError.



37
38
39
# File 'lib/enconvert/errors.rb', line 37

def initialize(message = "Plan feature not enabled or quota exhausted")
  super(402, message)
end