Sha256: 76c969fda4eea8d1f6a36f1a0652eeddb9f49a615e5d83fcb79f6789a3ae7a85

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

module VagrantPlugins
  module HyperVNet
    module Errors
      # A convenient superclass for all our errors.
      class HyperVNetError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_hypervnet.errors")
      end

      class BridgeUndefinedInPublicNetwork < HyperVNetError
        error_key(:bridge_undefined_in_public_network)
      end

      class IpUndefinedInPrivateNetwork < HyperVNetError
        error_key(:ip_undefined_in_private_network)
      end

      class PowerShellError < HyperVNetError
        error_key(:powershell_error)
      end

      class NetworkAddressInvalid < HyperVNetError
        error_key(:network_address_invalid)
      end

      class NetworkAddressOverlapping < HyperVNetError
        error_key(:network_address_overlapping)
      end      

      class NetworkNotUnique < HyperVNetError
        error_key(:network_not_unique)
      end      

      class NetworkNotFound < HyperVNetError
        error_key(:network_not_found)
      end

      class NetworkTypeNotSupported < HyperVNetError
        error_key(:network_type_not_supported)
      end  
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-hypervnet-0.1.4 lib/vagrant-hypervnet/errors.rb
vagrant-hypervnet-0.1.2 lib/vagrant-hypervnet/errors.rb