Sha256: 9562e55d1bc7298a6f1695b0c323478f6e873c4e8cb38f02137dd9a047f79b64

Contents?: true

Size: 1.35 KB

Versions: 4

Compression:

Stored size: 1.35 KB

Contents

require "vagrant"

module VagrantPlugins
  module Skytap
    module Errors
      class VagrantSkytapError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_skytap.errors")
      end

      class InstanceReadyTimeout < VagrantSkytapError
        error_key(:instance_ready_timeout)
      end

      class RsyncError < VagrantSkytapError
        error_key(:rsync_error)
      end

      class MkdirError < VagrantSkytapError
        error_key(:mkdir_error)
      end

      class Unauthorized < VagrantSkytapError
        error_key(:unauthorized)
      end

      class DoesNotExist < VagrantSkytapError
        error_key(:does_not_exist)
      end

      class ResourceBusy < VagrantSkytapError
        error_key(:resource_busy)
      end

      class RateLimited < VagrantSkytapError
        error_key(:rate_limited)
      end

      class UnprocessableEntity < VagrantSkytapError
        error_key(:unprocessable_entity)
      end

      class OperationFailed < VagrantSkytapError
        error_key(:operation_failed)
      end

      class VpnConnectionFailed < VagrantSkytapError
        error_key(:vpn_connection_failed)
      end

      class SourceVmNotStopped < VagrantSkytapError
        error_key(:source_vm_not_stopped)
      end

      class NoConnectionOptions < VagrantSkytapError
        error_key(:no_connection_options)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-skytap-0.1.4 lib/vagrant-skytap/errors.rb
vagrant-skytap-0.1.3 lib/vagrant-skytap/errors.rb
vagrant-skytap-0.1.2 lib/vagrant-skytap/errors.rb
vagrant-skytap-0.1.1a lib/vagrant-skytap/errors.rb