Exception: SourceLicenseSDK::RateLimitError

Inherits:
LicenseError show all
Defined in:
lib/source_license_sdk/exceptions.rb

Overview

Rate limiting errors

Instance Attribute Summary

Attributes inherited from LicenseError

#error_code, #retry_after

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Rate limit exceeded', retry_after: nil) ⇒ RateLimitError

Returns a new instance of RateLimitError.



34
35
36
# File 'lib/source_license_sdk/exceptions.rb', line 34

def initialize(message = 'Rate limit exceeded', retry_after: nil)
  super(message, error_code: 'RATE_LIMIT_EXCEEDED', retry_after: retry_after)
end