Sha256: 3d21dbd77211567ad3ab0ec60407c70cddd9ff151339de3977ae28dda764f805

Contents?: true

Size: 1.09 KB

Versions: 6

Compression:

Stored size: 1.09 KB

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

      class PyComposeMissing < VagrantComposeError
        error_key(:pycompose_missing)
      end

      class PyComposeError < VagrantComposeError
        error_key(:pycompose_error)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-compose-0.7.5 lib/vagrant/compose/errors.rb
vagrant-compose-0.7.4 lib/vagrant/compose/errors.rb
vagrant-compose-0.7.3 lib/vagrant/compose/errors.rb
vagrant-compose-0.7.2 lib/vagrant/compose/errors.rb
vagrant-compose-0.7.1 lib/vagrant/compose/errors.rb
vagrant-compose-0.7.0 lib/vagrant/compose/errors.rb