Sha256: cd0a2c3a202e1a9f7e4235b1f3c13803f41393e83408b9f149c3f18078bb859c

Contents?: true

Size: 1.04 KB

Versions: 29

Compression:

Stored size: 1.04 KB

Contents

module VagrantPlugins
  module HyperV
    module Errors
      # A convenient superclass for all our errors.
      class HyperVError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_hyperv.errors")
      end

      class AdminRequired < HyperVError
        error_key(:admin_required)
      end

      class BoxInvalid < HyperVError
        error_key(:box_invalid)
      end

      class IPAddrTimeout < HyperVError
        error_key(:ip_addr_timeout)
      end

      class NoSwitches < HyperVError
        error_key(:no_switches)
      end

      class PowerShellFeaturesDisabled < HyperVError
        error_key(:powershell_features_disabled)
      end

      class PowerShellError < HyperVError
        error_key(:powershell_error)
      end

      class PowerShellRequired < HyperVError
        error_key(:powershell_required)
      end

      class WindowsRequired < HyperVError
        error_key(:windows_required)
      end

      class SystemAccessRequired < HyperVError
        error_key(:system_access_required)
      end
    end
  end
end

Version data entries

29 entries across 25 versions & 4 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/providers/hyperv/errors.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.3.3.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.3.2.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.19.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.18.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.16.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.14.0 plugins/providers/hyperv/errors.rb
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.10.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.9.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.8.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.7.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.6.2 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.6.1 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.6.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.5.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.4.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.3.0 plugins/providers/hyperv/errors.rb
vagrant-unbundled-2.2.2.0 plugins/providers/hyperv/errors.rb