class Twitter::SearchRateLimitError
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