Sha256: 47a44c15a2578a81c0c560ba45f934d52ef7baff5023410f91dfeb85c4ef4180
Contents?: true
Size: 687 Bytes
Versions: 11
Compression:
Stored size: 687 Bytes
Contents
# This file contains any or all custom Fog errors that we create module Fog module AzureRM # This is a custom Fog exception inherited from MsRestAzure::AzureOperationError class CustomAzureOperationError < MsRestAzure::AzureOperationError def initialize(message, azure_exception) super(azure_exception.request, azure_exception.response, azure_exception.body, "Exception in #{message}") end end # This is a custom Fog exception inherited from Azure::Core::Http::HTTPError class CustomAzureCoreHttpError < Azure::Core::Http::HTTPError def initialize(azure_exception) super(azure_exception.http_response) end end end end
Version data entries
11 entries across 11 versions & 2 rubygems