mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
25 lines
636 B
Ruby
25 lines
636 B
Ruby
# Copyright IBM Corp. 2010, 2025
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
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
|
|
end
|
|
end
|
|
end
|