Exception: Rubirai::HttpResponseError

Inherits:
RubiraiError
  • Object
show all
Defined in:
lib/rubirai/errors.rb

Overview

Http response error

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ HttpResponseError

Returns a new instance of HttpResponseError.



12
13
14
# File 'lib/rubirai/errors.rb', line 12

def initialize(code)
  super "Http Error: #{code}"
end