Exception: Redd::Error::QuotaFilled

Inherits:
RateLimited show all
Defined in:
lib/redd/error.rb

Overview

This seems to be a more OAuth2-focused error.

Constant Summary

Constants inherited from Redd::Error

Archived, AuthenticationRequired, BadGateway, BadRequest, Conflict, ExpiredCode, InternalServerError, InvalidCaptcha, InvalidClassName, InvalidCredentials, InvalidGrantType, InvalidMultiredditName, InvalidOAuth2Credentials, InvalidRequest, InvalidResponseType, InvalidScope, JSONError, NoTokenGiven, NotFound, OAuth2AccessDenied, PermissionDenied, RequestError, ServiceUnavailable, TimedOut, TooManyClassNames

Instance Attribute Summary

Attributes inherited from RateLimited

#time

Attributes inherited from Redd::Error

#body, #code, #headers

Instance Method Summary collapse

Methods inherited from Redd::Error

from_response, parse_error

Constructor Details

#initialize(env) ⇒ QuotaFilled

Returns a new instance of QuotaFilled.



135
136
137
138
# File 'lib/redd/error.rb', line 135

def initialize(env)
  super
  @time = 3600
end