Exception: WufooParty::HTTPError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/wufoo_party.rb

Overview

Represents a specific error returned from Wufoo.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, message) ⇒ HTTPError

:nodoc:



84
85
86
87
# File 'lib/wufoo_party.rb', line 84

def initialize(code, message) # :nodoc:
  @code = code
  super(message)
end

Instance Attribute Details

#codeObject (readonly)

Error code



90
91
92
# File 'lib/wufoo_party.rb', line 90

def code
  @code
end