2014-02-16 00:28:11 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module HyperV
|
|
|
|
module Errors
|
|
|
|
# A convenient superclass for all our errors.
|
|
|
|
class HyperVError < Vagrant::Errors::VagrantError
|
|
|
|
error_namespace("vagrant_hyperv.errors")
|
|
|
|
end
|
|
|
|
|
2014-02-16 00:35:04 +00:00
|
|
|
class PowerShellError < HyperVError
|
|
|
|
error_key(:powershell_error)
|
|
|
|
end
|
|
|
|
|
2014-02-16 00:28:11 +00:00
|
|
|
class PowerShellRequired < HyperVError
|
|
|
|
error_key(:powershell_required)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|