Exception: Hpe3parSdk::HTTPRequestEntityTooLarge
- Inherits:
-
HPE3PARException
- Object
- StandardError
- HPE3PARException
- Hpe3parSdk::HTTPRequestEntityTooLarge
- Defined in:
- lib/Hpe3parSdk/exceptions.rb
Instance Attribute Summary collapse
-
#http_status ⇒ Object
readonly
HTTP 413 - The request is larger than the server is willing or able to process.
-
#message ⇒ Object
readonly
HTTP 413 - The request is larger than the server is willing or able to process.
Attributes inherited from HPE3PARException
Instance Method Summary collapse
-
#initialize(code = nil, message = nil, ref = nil, http_status = nil) ⇒ HTTPRequestEntityTooLarge
constructor
A new instance of HTTPRequestEntityTooLarge.
Constructor Details
#initialize(code = nil, message = nil, ref = nil, http_status = nil) ⇒ HTTPRequestEntityTooLarge
Returns a new instance of HTTPRequestEntityTooLarge.
271 272 273 274 275 276 277 |
# File 'lib/Hpe3parSdk/exceptions.rb', line 271 def initialize(code = nil, =nil, ref =nil, http_status=nil) @http_status = 413 @message = 'Request Entity Too Large' super(code, .nil? ? @message : , ref, http_status.nil? ? @http_status : http_status) end |
Instance Attribute Details
#http_status ⇒ Object (readonly)
HTTP 413 - The request is larger than the server is willing or able to
process
268 269 270 |
# File 'lib/Hpe3parSdk/exceptions.rb', line 268 def http_status @http_status end |
#message ⇒ Object (readonly)
HTTP 413 - The request is larger than the server is willing or able to
process
268 269 270 |
# File 'lib/Hpe3parSdk/exceptions.rb', line 268 def @message end |