Sha256: 681e4ab926956eb6d6b9e4b50002527798988b03d7ea62f7a046ea5feef57cff

Contents?: true

Size: 816 Bytes

Versions: 3

Compression:

Stored size: 816 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 SyncMethodError < VagrantOpenstackError
        error_key(:sync_method_error)
      end

      class RsyncError < VagrantOpenstackError
        error_key(:rsync_error)
      end

      class SshUnavailable < VagrantOpenstackError
        error_key(:ssh_unavailble)
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-openstack-provider-0.1.2 lib/vagrant-openstack-provider/errors.rb
vagrant-openstack-provider-0.1.1 lib/vagrant-openstack/errors.rb
vagrant-openstack-provider-0.1 lib/vagrant-openstack/errors.rb