Sha256: bcea0b45f33e59502fd70a496b18f36e6548edf0e6e56b45b9907df9122ff711

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 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 NetworkNotFoundError < VagrantOVirtError
        error_key(:network_not_found_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

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-ovirt4-1.2.0 lib/vagrant-ovirt4/errors.rb