Sha256: e168c3ca60b449d082b7cbac5516c252e279370847a19a5e8d3856456419f9f8

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

require 'vagrant'

module VagrantMutate
  module Errors
    class VagrantMutateError < Vagrant::Errors::VagrantError
      error_namespace('vagrant_mutate.errors')
    end

    class ProviderNotSupported < VagrantMutateError
      error_key(:provider_not_supported)
    end

    class QemuNotFound < VagrantMutateError
      error_key(:qemu_not_found)
    end

    class BoxNotFound < VagrantMutateError
      error_key(:box_not_found)
    end

    class ExtractBoxFailed < VagrantMutateError
      error_key(:extract_box_failed)
    end

    class DetermineProviderFailed < VagrantMutateError
      error_key(:determine_provider_failed)
    end

    class CreateBoxDirFailed < VagrantMutateError
      error_key(:create_box_dir_failed)
    end

    class WriteMetadataFailed < VagrantMutateError
      error_key(:write_metadata_failed)
    end

    class WriteVagrantfileFailed < VagrantMutateError
      error_key(:write_vagrantfile_failed)
    end

    class WriteDiskFailed < VagrantMutateError
      error_key(:write_disk_failed)
    end

    class ParseQemuVersionFailed < VagrantMutateError
      error_key(:parse_qemu_version_failed)
    end

    class DetermineImageSizeFailed < VagrantMutateError
      error_key(:determine_image_size_failed)
    end

    class BoxAttributeError < VagrantMutateError
      error_key(:box_attribute_error)
    end

    class URLError < VagrantMutateError
      error_key(:url_error)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-mutate-0.1.5 lib/vagrant-mutate/errors.rb