Exception: Flowthings::Error::HttpError

Inherits:
Flowthings::Error show all
Defined in:
lib/flowthings/error.rb

Direct Known Subclasses

ClientError, ServerError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, http_headers = "") ⇒ HttpError

Returns a new instance of HttpError.



13
14
15
16
# File 'lib/flowthings/error.rb', line 13

def initialize(message, http_headers="")
  @http_headers = http_headers
  super(message)
end

Instance Attribute Details

#http_headersObject (readonly)

Returns the value of attribute http_headers.



11
12
13
# File 'lib/flowthings/error.rb', line 11

def http_headers
  @http_headers
end