Exception: Fog::AzureRM::CustomAzureCoreHttpError

Inherits:
Azure::Core::Http::HTTPError show all
Defined in:
lib/fog/azurerm/custom_fog_errors.rb

Overview

This is a custom Fog exception inherited from Azure::Core::Http::HTTPError

Instance Attribute Summary

Attributes inherited from Azure::Core::Http::HTTPError

#description, #detail, #header, #header_value, #http_response, #status_code, #type, #uri

Instance Method Summary collapse

Methods inherited from Azure::Core::Http::HTTPError

#inspect, #parse_json_response, #parse_response, #parse_unknown_response, #parse_xml_response

Constructor Details

#initialize(azure_exception) ⇒ CustomAzureCoreHttpError

Returns a new instance of CustomAzureCoreHttpError.



6
7
8
# File 'lib/fog/azurerm/custom_fog_errors.rb', line 6

def initialize(azure_exception)
  super(azure_exception.http_response)
end