Sha256: 8a76cb179f14327f19602b2b4ac7356a9649f5f95e06e8bdaa1c6fdc9e2c8b58

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 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 Errors::DetermineImageSizeFailed < VagrantMutateError
      error_key(:determine_image_size_failed)
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-mutate-0.1.4 lib/vagrant-mutate/errors.rb
vagrant-mutate-0.1.3 lib/vagrant-mutate/errors.rb
vagrant-mutate-0.1.2 lib/vagrant-mutate/errors.rb