Sha256: e0ebf19b7be50b4a2750ef0e945b23c384deca2c4b336704208fdd933d8fd2df

Contents?: true

Size: 2 KB

Versions: 6

Compression:

Stored size: 2 KB

Contents

require 'vagrant'

module VagrantPlugins
  module OVirtProvider
    module Errors
      class VagrantOVirtError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_ovirt3.errors")
      end

      class InvalidConsoleType < VagrantOVirtError
        error_key(:console_error)
      end

      class RsyncError < VagrantOVirtError
        error_key(:rsync_error)
      end

      class FogOVirtConnectionError < VagrantOVirtError
        error_key(:fog_ovirt_connection_error)
      end

      class NoDatacenterError < VagrantOVirtError
        error_key(:no_datacenter_error)
      end

      class NoClusterError < VagrantOVirtError
        error_key(:no_cluster_error)
      end

      class NoTemplateError < VagrantOVirtError
        error_key(:no_template_error)
      end

      class NoQuotaError < VagrantOVirtError
        error_key(:no_template_error)
      end

      class FogCreateServerError < VagrantOVirtError
        error_key(:fog_create_server_error)
      end

      class InterfaceSlotNotAvailable < VagrantOVirtError
        error_key(:interface_slot_not_available)
      end

      class AddInterfaceError < VagrantOVirtError
        error_key(:add_interface_error)
      end

      class NoVMError < VagrantOVirtError
        error_key(:no_vm_error)
      end

      class VMNotFoundError < VagrantOVirtError
        error_key(:vm_not_found_error)
      end

      class StartVMError < VagrantOVirtError
        error_key(:start_vm_error)
      end

      class WaitForReadyVmTimeout < VagrantOVirtError
        error_key(:wait_for_ready_vm_timeout)
      end

      class NoIpAddressError < VagrantOVirtError
        error_key(:no_ip_address_error)
      end

      class NoNetworkError < VagrantOVirtError
        error_key(:no_network_error)
      end

      class UpdateVolumeError < VagrantOVirtError
        error_key(:update_volume_error)
      end

      class WaitForReadyResizedVolumeTimeout < VagrantOVirtError
        error_key(:wait_for_ready_resized_volume_timeout)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-ovirt3-1.9.1 lib/vagrant-ovirt3/errors.rb
vagrant-ovirt3-1.9.0 lib/vagrant-ovirt3/errors.rb
vagrant-ovirt3-1.8.2 lib/vagrant-ovirt3/errors.rb
vagrant-ovirt3-1.7.1 lib/vagrant-ovirt3/errors.rb
vagrant-ovirt3-1.7.0 lib/vagrant-ovirt3/errors.rb
vagrant-ovirt3-1.6.2 lib/vagrant-ovirt3/errors.rb