Exception: Yajl::HttpStream::HttpError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yajl/http_stream.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (HttpError) initialize(message, headers)



19
20
21
22
# File 'lib/yajl/http_stream.rb', line 19

def initialize(message, headers)
  @message = message
  @headers = headers
end

Instance Attribute Details

- (Object) headers (readonly)

Returns the value of attribute headers



17
18
19
# File 'lib/yajl/http_stream.rb', line 17

def headers
  @headers
end

- (Object) message (readonly)

Returns the value of attribute message



17
18
19
# File 'lib/yajl/http_stream.rb', line 17

def message
  @message
end