Exception: Tilia::Http::ClientException
- Inherits:
-
Exception
- Object
- Exception
- Tilia::Http::ClientException
- Defined in:
- lib/tilia/http/client_exception.rb
Overview
This exception may be emitted by the HTTPClient class, in case there was a problem emitting the request.
Instance Attribute Summary collapse
-
#code ⇒ Object
TODO: document.
Instance Method Summary collapse
-
#initialize(code) ⇒ ClientException
constructor
TODO: document.
Constructor Details
#initialize(code) ⇒ ClientException
TODO: document
7 8 9 |
# File 'lib/tilia/http/client_exception.rb', line 7 def initialize(code) @code = code.to_i end |
Instance Attribute Details
#code ⇒ Object
TODO: document
12 13 14 |
# File 'lib/tilia/http/client_exception.rb', line 12 def code @code end |