Sha256: 8fff3b1858ba856393e633c865150f9f912003336e9ebb62b7020f3f9454a071

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

require 'vagrant'

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

      class NoVMError < VagrantOVirtError
        error_key(:no_vm_error)
      end

      class CreateVMError < VagrantOVirtError
        error_key(:create_vm_error)
      end

      class StartVMError < VagrantOVirtError
        error_key(:start_vm_error)
      end

      class WaitForReadyVmTimeout < VagrantOVirtError
        error_key(:wait_for_ready_vm_timeout)
      end

      class AddInterfaceError < VagrantOVirtError
        error_key(:add_interface_error)
      end

      class NoNetworkError < VagrantOVirtError
        error_key(:no_network_error)
      end

      class NoIPError < VagrantOVirtError
        error_key(:no_ip_error)
      end

      class RemoveActiveSnapshotError < VagrantOVirtError
        error_key(:remove_active_snapshot_error)
      end

      class RemoveSnapshotError < VagrantOVirtError
        error_key(:remove_snapshot_error)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-ovirt4-1.1.0 lib/vagrant-ovirt4/errors.rb
vagrant-ovirt4-1.0.2 lib/vagrant-ovirt4/errors.rb
vagrant-ovirt4-1.0.1 lib/vagrant-ovirt4/errors.rb
vagrant-ovirt4-1.0.0 lib/vagrant-ovirt4/errors.rb