Method: OEHClient::Exception::HTTPRequestException#initialize

Defined in:
lib/oehclient/exception.rb

#initialize(msg, code) ⇒ HTTPRequestException

override the constructor to add the code value to exception class



34
35
36
37
# File 'lib/oehclient/exception.rb', line 34

def initialize(msg, code)
	super(msg)
	@http_code = code
end