Exception: Twitter::RateLimitError

Inherits:
RESTError
  • Object
show all
Defined in:
lib/twitter/core.rb

Overview

Runtime error leaf class raised when client has reached rate limits. HTTP code: 400 (aka Bad Request).

To handle specifically you would do the following: begin timeline = twitter.timeline_for(:friends, :since => tweet) rescue RateLimitError => rlre

do something here...

end

Instance Attribute Summary

Attributes inherited from RESTError

#code, #error, #message, #uri

Method Summary

Methods inherited from RESTError

register, registry, #to_s

Methods included from ClassUtilMixin

included