Exception: TwitterTweetBot::API::HTTP::Error::RequestFaild

Inherits:
StandardError
  • Object
show all
Defined in:
lib/twitter_tweet_bot/api/http/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(code, body) ⇒ RequestFaild

Returns a new instance of RequestFaild.



6
7
8
# File 'lib/twitter_tweet_bot/api/http/error.rb', line 6

def initialize(code, body)
  super(format_message(code, body))
end