Sha256: 91c25a6054876663fc2b41fcd7453be1345239ec5b3491c1c019d7f9bc01ad30

Contents?: true

Size: 916 Bytes

Versions: 1

Compression:

Stored size: 916 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module Compose

    #Plugin custom error classes, handling localization of error messages
    module Errors
      #Base class for vagrant compose custom errors
      class VagrantComposeError < Vagrant::Errors::VagrantError
        error_namespace("vagrant_compose.errors")
      end

      class ClusterInitializeError < VagrantComposeError
        error_key(:initialize_error)
      end

      class AttributeExpressionError < VagrantComposeError
        error_key(:attribute_expression_error)
      end

      class ContextVarExpressionError < VagrantComposeError
        error_key(:context_var_expression_error)
      end

      class GroupVarExpressionError < VagrantComposeError
        error_key(:group_var_expression_error)
      end

      class HostVarExpressionError < VagrantComposeError
        error_key(:host_var_expression_error)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-compose-0.2.3 lib/vagrant/compose/errors.rb