vagrant/plugins/commands/powershell/errors.rb

23 lines
533 B
Ruby
Raw Normal View History

module VagrantPlugins
module CommandPS
module Errors
# A convenient superclass for all our errors.
2015-06-06 05:24:05 +00:00
class PSCommandError < Vagrant::Errors::VagrantError
error_namespace("vagrant_ps.errors")
end
2015-06-06 05:24:05 +00:00
class HostUnsupported < PSCommandError
error_key(:host_unsupported)
end
2015-06-06 05:24:05 +00:00
class PSRemotingUndetected < PSCommandError
error_key(:ps_remoting_undetected)
end
2015-06-06 05:24:05 +00:00
class PowerShellError < PSCommandError
error_key(:powershell_error)
end
end
end
end