Class: Fog::AzureRM::CustomAzureOperationError

Inherits:
MsRestAzure::AzureOperationError
  • Object
show all
Defined in:
lib/fog/azurerm/custom_fog_errors.rb

Overview

This is a custom Fog exception inherited from MsRestAzure::AzureOperationError

Instance Method Summary collapse

Constructor Details

#initialize(message, azure_exception) ⇒ CustomAzureOperationError

Returns a new instance of CustomAzureOperationError.



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

def initialize(message, azure_exception)
  super(azure_exception.request, azure_exception.response, azure_exception.body, "Exception in #{message}")
end