Exception: PSRP::HTTPTransportError

Inherits:
PSRPError
  • Object
show all
Defined in:
lib/response_handler.rb

Overview

non-200 response without a SOAP fault

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, status_code) ⇒ HTTPTransportError

Returns a new instance of HTTPTransportError.



55
56
57
58
# File 'lib/response_handler.rb', line 55

def initialize(msg, status_code)
  @status_code = status_code
  super(msg + " (#{status_code}).")
end

Instance Attribute Details

#status_codeObject (readonly)

Returns the value of attribute status_code.



53
54
55
# File 'lib/response_handler.rb', line 53

def status_code
  @status_code
end