Exception: Yajl::HttpStream::HttpError
- Defined in:
- lib/yajl/http_stream.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message, headers) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(message, headers) ⇒ HttpError
21 22 23 24 |
# File 'lib/yajl/http_stream.rb', line 21 def initialize(, headers) = @headers = headers end |