Exception: Rubirai::HttpResponseError
- Inherits:
-
RubiraiError
- Object
- RuntimeError
- RubiraiError
- Rubirai::HttpResponseError
- Defined in:
- lib/rubirai/errors.rb
Overview
Http response error
Instance Method Summary collapse
-
#initialize(code) ⇒ HttpResponseError
constructor
A new instance of HttpResponseError.
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 |