Sha256: 26134a542b6b84803568878471f8013670f74fbaa86312518d2aa877c4516011

Contents?: true

Size: 599 Bytes

Versions: 5

Compression:

Stored size: 599 Bytes

Contents

require "fog/core"
require "fog/xml"

module Fog
  module Ovirt
    extend Fog::Provider

    module Errors
      class ServiceError < Fog::Errors::Error; end
      class SecurityError < ServiceError; end
      class NotFound < ServiceError; end
      class OvirtError < Fog::Errors::Error; end

      class OvirtEngineError < OvirtError
        attr_reader :orig_exception

        def initialize(exception)
          @orig_exception = exception
          super("Ovirt client returned an error: #{@orig_exception.message}")
        end
      end
    end

    service(:compute, "Compute")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fog-ovirt-1.0.4 lib/fog/ovirt/core.rb
fog-ovirt-1.0.3 lib/fog/ovirt/core.rb
fog-ovirt-1.0.2 lib/fog/ovirt/core.rb
fog-ovirt-1.0.1 lib/fog/ovirt/core.rb
fog-ovirt-1.0.0 lib/fog/ovirt/core.rb