Sha256: df939071e46733d38f6532a019c856ccc223572c80deed2012e5fcd153c83560

Contents?: true

Size: 1.49 KB

Versions: 3

Compression:

Stored size: 1.49 KB

Contents

require "vagrant"

module VagrantPlugins
  module OpenStack
    module Errors
      class VagrantOpenStackError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_openstack.errors")
      end

      class VolumeBadState < VagrantOpenStackError
        error_key(:volume_bad_state)
      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

      class FloatingIPNotAllocated < VagrantOpenStackError
        error_key(:floating_ip_not_allocated)
      end

      class OrchestrationTemplateError < VagrantOpenStackError
        error_key(:orchestration_template_error)
      end

      class OrchestrationNoTemplateFileError < VagrantOpenStackError
        error_key(:orchestration_no_template_file_error)
      end

      class ServerNotDestroyed < VagrantOpenStackError
        error_key(:server_not_destroyed)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-openstack-plugin-0.11.1 lib/vagrant-openstack-plugin/errors.rb
vagrant-openstack-plugin-0.11.0 lib/vagrant-openstack-plugin/errors.rb
vagrant-openstack-plugin-0.10.0 lib/vagrant-openstack-plugin/errors.rb