class Hpe3parSdk::HTTPBadGateway

Attributes

http_status[R]

HTTP 502 - The server was acting as a gateway or proxy and received an

invalid response from the upstream server.
message[R]

HTTP 502 - The server was acting as a gateway or proxy and received an

invalid response from the upstream server.

Public Class Methods

new(code = nil, message =nil, ref =nil, http_status=nil) click to toggle source
Calls superclass method Hpe3parSdk::HPE3PARException::new
# File lib/Hpe3parSdk/exceptions.rb, line 397
def initialize(code = nil, message =nil, ref =nil, http_status=nil)
  @http_status = 502
  @message = 'Bad Gateway'
  super(code, message.nil? ? @message : message,
        ref,
        http_status.nil? ? @http_status : http_status)
end