class IBM::Cloud::SDKHTTP::Exceptions::ExceptionWithResponse

An exception for http with a response attribute. @param msg [String] A human readable message. @param response [IBM::Cloud::SDK::VPC::Response] The original response object.

Attributes

response[R]

@return [IBM::Cloud::SDK::VPC::Response] The response

Public Class Methods

new(msg, response) click to toggle source
Calls superclass method
# File lib/ibm/cloud/sdk_http/exceptions.rb, line 12
def initialize(msg, response)
  @response = response
  super(msg)
end