# File lib/tweetstream/client.rb, line 185 def on_error(&block) if block_given? @on_error = block self else @on_error end end