Sha256: c1c49ea2f4ba0ff9252bdc1cc22cf4693dffecffebf4335f260f06c6c7928fde

Contents?: true

Size: 1.72 KB

Versions: 4

Compression:

Stored size: 1.72 KB

Contents

require 'vagrant'

module VagrantPlugins
  module Openstack
    module Errors
      class VagrantOpenstackError < Vagrant::Errors::VagrantError
        error_namespace('vagrant_openstack.errors')
        error_key(:default)
      end

      class AuthenticationRequired < VagrantOpenstackError
        error_key(:authentication_required)
      end

      class AuthenticationFailed < VagrantOpenstackError
        error_key(:authentication_failed)
      end

      class BadAuthenticationEndpoint < VagrantOpenstackError
        error_key(:bad_authentication_endpoint)
      end

      class MultipleApiVersion < VagrantOpenstackError
        error_key(:multiple_api_version)
      end

      class CreateBadState < VagrantOpenstackError
        error_key(:create_bad_state)
      end

      class NoMatchingFlavor < VagrantOpenstackError
        error_key(:no_matching_flavor)
      end

      class NoMatchingImage < VagrantOpenstackError
        error_key(:no_matching_image)
      end

      class SyncMethodError < VagrantOpenstackError
        error_key(:sync_method_error)
      end

      class RsyncError < VagrantOpenstackError
        error_key(:rsync_error)
      end

      class SshUnavailable < VagrantOpenstackError
        error_key(:ssh_unavailble)
      end

      class NoArgRequiredForCommand < VagrantOpenstackError
        error_key(:no_arg_required_for_command)
      end

      class UnableToResolveFloatingIP < VagrantOpenstackError
        error_key(:unable_to_resolve_floating_ip)
      end

      class UnableToResolveIP < VagrantOpenstackError
        error_key(:unable_to_resolve_ip)
      end

      class UnableToResolveSSHKey < VagrantOpenstackError
        error_key(:unable_to_resolve_ssh_key)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-openstack-provider-0.3.4.pre lib/vagrant-openstack-provider/errors.rb
vagrant-openstack-provider-0.3.3 lib/vagrant-openstack-provider/errors.rb
vagrant-openstack-provider-0.3.2 lib/vagrant-openstack-provider/errors.rb
vagrant-openstack-provider-0.3.0 lib/vagrant-openstack-provider/errors.rb