2023-08-10 16:53:25 -04:00
|
|
|
# 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
|
|
|
|
|
|
2014-05-06 22:00:58 -04:00
|
|
|
class NetworkWinRMRequired < WindowsError
|
|
|
|
|
error_key(:network_winrm_required)
|
|
|
|
|
end
|
2014-06-10 01:46:03 -04:00
|
|
|
|
|
|
|
|
class RenameComputerFailed < WindowsError
|
|
|
|
|
error_key(:rename_computer_failed)
|
|
|
|
|
end
|
2017-07-07 12:38:11 -04:00
|
|
|
|
|
|
|
|
class PublicKeyDirectoryFailure < WindowsError
|
|
|
|
|
error_key(:public_key_directory_failure)
|
|
|
|
|
end
|
2014-03-14 14:23:07 -04:00
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|