Exception: GozapRss::GozapHttpStatusError

Inherits:
Error
  • Object
show all
Defined in:
lib/gozap_rss/chouti_rss.rb

Instance Method Summary collapse

Constructor Details

#initialize(url, code, msg) ⇒ GozapHttpStatusError

Returns a new instance of GozapHttpStatusError.



14
15
16
# File 'lib/gozap_rss/chouti_rss.rb', line 14

def initialize(url, code, msg)
  super("http get #{url} return response_code is #{code} and error is #{msg}")
end