Sha256: a17fc605a88015e22ad07a19385fcad131ed3ba9ac72e0127aa58426d61ab485

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

require "vagrant"

module VagrantPlugins
  module Parallels
    module Errors
      class VagrantParallelsError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_parallels.errors")
      end

      class DhcpLeasesNotAccessible < VagrantParallelsError
        error_key(:dhcp_leases_file_not_accessible)
      end

      class LinuxMountFailed < VagrantParallelsError
        error_key(:linux_mount_failed)
      end

      class MacOSXRequired < VagrantParallelsError
        error_key(:mac_os_x_required)
      end

      class ExecutionError < VagrantParallelsError
        error_key(:execution_error)
      end

      class ParallelsInstallIncomplete < VagrantParallelsError
        error_key(:parallels_install_incomplete)
      end

      class ParallelsInvalidVersion < VagrantParallelsError
        error_key(:parallels_invalid_version)
      end

      class ParallelsNotDetected < VagrantParallelsError
        error_key(:parallels_not_detected)
      end

      class ParallelsNoRoomForHighLevelNetwork < VagrantParallelsError
        error_key(:parallels_no_room_for_high_level_network)
      end

      class ParallelsToolsIsoNotFound < VagrantParallelsError
        error_key(:parallels_tools_iso_not_found)
      end

      class VMImportFailure < VagrantParallelsError
        error_key(:vm_import_failure)
      end

      class VMNameExists < VagrantParallelsError
        error_key(:vm_name_exists)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-parallels-1.2.2 lib/vagrant-parallels/errors.rb
vagrant-parallels-1.2.1 lib/vagrant-parallels/errors.rb