vagrant/plugins/commands/powershell/errors.rb

27 lines
631 B
Ruby
Raw Permalink 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
class ElevatedNoCommand < PSCommandError
error_key(:elevated_no_command)
end
end
end
end