class Hpe3parSdk::HTTPInternalServerError

500 Errors

Attributes

http_status[R]

HTTP 500 - Internal Server Error: an internal error occured.

message[R]

HTTP 500 - Internal Server Error: an internal error occured.

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 367
def initialize(code = nil, message =nil, ref =nil, http_status=nil)
  @http_status = 500
  @message = 'Internal Server Error'
  super(code, message.nil? ? @message : message,
        ref,
        http_status.nil? ? @http_status : http_status)
end