Sha256: 96335140cc0b4fc320903fa7d7ab7ca9614f5671c4e86aaec5db004ae6e38581
Contents?: true
Size: 367 Bytes
Versions: 2
Compression:
Stored size: 367 Bytes
Contents
module Fog module AzureRm # Custom exception class class OperationError < MsRestAzure::AzureOperationError def initialize(exception) super(exception.body['error']['message']) self.request = exception.request self.response = exception.response set_backtrace(exception.backtrace) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.0.6 | lib/fog/azurerm/fog_azure_rm_exception.rb |
fog-azure-rm-0.0.5 | lib/fog/azurerm/fog_azure_rm_exception.rb |