class Hpe3parSdk::HTTPGatewayTimeout

Attributes

http_status[R]

HTTP 504 - The server was acting as a gateway or proxy and did

not receive a timely response from the upstream server.
message[R]

HTTP 504 - The server was acting as a gateway or proxy and did

not receive a timely 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 428
def initialize(code = nil, message =nil, ref =nil, http_status=nil)
  @http_status = 504
  @message = 'Gateway Timeout'
  super(code, message.nil? ? @message : message,
        ref,
        http_status.nil? ? @http_status : http_status)
end