Sha256: 0c4fcb1eb8f117c892637ad3dc12e3c7eb9931fbdbcde8a2146fe2d47379d890

Contents?: true

Size: 939 Bytes

Versions: 3

Compression:

Stored size: 939 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module OpenStack
    module Errors
      class VagrantOpenStackError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_openstack.errors")
      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 RsyncError < VagrantOpenStackError
        error_key(:rsync_error)
      end

      class SSHNoValidHost < VagrantOpenStackError
        error_key(:ssh_no_valid_host)
      end

      class FloatingIPNotValid < VagrantOpenStackError
        error_key(:floating_ip_not_valid)
      end
      
      class FloatingIPNotFound < VagrantOpenStackError
        error_key(:floating_ip_not_found)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-openstack-plugin-0.7.0 lib/vagrant-openstack-plugin/errors.rb
vagrant-openstack-plugin-0.6.1 lib/vagrant-openstack-plugin/errors.rb
vagrant-openstack-plugin-0.6.0 lib/vagrant-openstack-plugin/errors.rb