vagrant/plugins/guests/windows/errors.rb

26 lines
635 B
Ruby
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
2014-03-14 14:23:07 -04:00
module VagrantPlugins
module GuestWindows
module Errors
# A convenient superclass for all our errors.
class WindowsError < Vagrant::Errors::VagrantError
error_namespace("vagrant_windows.errors")
end
class NetworkWinRMRequired < WindowsError
error_key(:network_winrm_required)
end
class RenameComputerFailed < WindowsError
error_key(:rename_computer_failed)
end
class PublicKeyDirectoryFailure < WindowsError
error_key(:public_key_directory_failure)
end
2014-03-14 14:23:07 -04:00
end
end
end