Class Twitter::SearchRateLimitError
In: lib/twitter/core.rb
Parent: RESTError

Runtime error leaf class raised when search rate limit reached. HTTP code: 420.

To handle specifically you would do the following:

 begin
   timeline = twitter.timeline_for(:friends, :since => tweet)
 rescue SearchRateLimitError => nme
   #
 end

[Validate]