Exception: Dance::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dance/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, http_headers) ⇒ Error

Returns a new instance of Error.



5
6
7
8
# File 'lib/dance/errors.rb', line 5

def initialize(message, http_headers)
  @http_headers = Hash[http_headers]
  super(message)
end

Instance Attribute Details

#http_HeadersObject (readonly)

Returns the value of attribute http_Headers.



3
4
5
# File 'lib/dance/errors.rb', line 3

def http_Headers
  @http_Headers
end