Sha256: 72e676b76d780d323a0498c4321895f7d606284a9473ac70e283efd34c6f0c7c

Contents?: true

Size: 1.52 KB

Versions: 62

Compression:

Stored size: 1.52 KB

Contents

module VagrantPlugins
  module CommunicatorWinRM
    module Errors
      # A convenient superclass for all our errors.
      class WinRMError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_winrm.errors")
      end

      class TransientError < WinRMError
      end

      class AuthenticationFailed < WinRMError
        error_key(:authentication_failed)
      end

      class ExecutionError < WinRMError
        error_key(:execution_error)
      end

      class InvalidShell < WinRMError
        error_key(:invalid_shell)
      end

      class WinRMBadExitStatus < WinRMError
        error_key(:winrm_bad_exit_status)
      end

      class WinRMNotReady < WinRMError
        error_key(:winrm_not_ready)
      end

      class WinRMFileTransferError < WinRMError
        error_key(:winrm_file_transfer_error)
      end

      class InvalidTransport < WinRMError
        error_key(:invalid_transport)
      end

      class SSLError < WinRMError
        error_key(:ssl_error)
      end

      class ConnectionTimeout < TransientError
        error_key(:connection_timeout)
      end

      class Disconnected < TransientError
        error_key(:disconnected)
      end

      class ConnectionRefused < TransientError
        error_key(:connection_refused)
      end

      class ConnectionReset < TransientError
        error_key(:connection_reset)
      end

      class HostDown < TransientError
        error_key(:host_down)
      end

      class NoRoute < TransientError
        error_key(:no_route)
      end
    end
  end
end

Version data entries

62 entries across 55 versions & 7 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/communicators/winrm/errors.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.3.3.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.3.2.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.19.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.18.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.16.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.14.0 plugins/communicators/winrm/errors.rb
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.10.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.9.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.8.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.7.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.6.2 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.6.1 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.6.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.5.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.4.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.3.0 plugins/communicators/winrm/errors.rb
vagrant-unbundled-2.2.2.0 plugins/communicators/winrm/errors.rb