Sha256: 35c00200b9bd29edd4183940e02871028649b871f785be4528d0524fa0f43af4

Contents?: true

Size: 1.47 KB

Versions: 2

Compression:

Stored size: 1.47 KB

Contents

module CiCd
	module Builder
		module Errors

			class Unknown < StandardError ; end
			class Internal < Unknown ; end
			class InvalidVersion < Unknown ; end
			class InvalidVersionConstraint < Unknown ; end

      i = 10
      ARTIFACT_UPLOAD_EXCEPTION   = i+=1
      ARTIFACT_NOT_UPLOADED       = i+=1
      ARTIFACT_NOT_COPIED         = i+=1
      MAKEBUILD_EXCEPTION         = i+=1
      MAKEBUILD_PREPARATION       = i+=1
      MISSING_ENV_VAR             = i+=1
      PREPAREBUILD_EXCEPTION      = i+=1
      PARSING_LATEST_VERSION      = i+=1
      PARSING_BUILD_CHECKSUM      = i+=1
      STORING_BUILD_CHECKSUM      = i+=1
      INVALID_WORKSPACE           = i+=1
      CLEANUPBUILD_EXCEPTION      = i+=1
      REPO_DIR                    = i+=1
      WORKSPACE_DIR               = i+=1
      NO_COMPONENTS               = i+=1
      MANIFEST_EMPTY              = i+=1
      MANIFEST_WRITE              = i+=1
      MANIFEST_DELETE             = i+=1
      INVENTORY_UPLOAD_EXCEPTION  = i+=1
      STORING_BUILD_METADATA      = i+=1
      BUILDER_REPO_TYPE           = i+=1
      BUILD_DIR                   = i+=1
      BUCKET                      = i+=1
      BAD_ARTIFACTS               = i+=1
      ARTIFACT_NOT_FOUND          = i+=1
      SAVE_LATEST_VARS            = i+=1
      SAVE_ENVIRONMENT_VARS       = i+=1
      NO_ARTIFACTS                = i+=1

      require 'awesome_print'

      MAP = {}
      constants.each do |c|
        MAP[const_get(c)] = c.to_s
      end

		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cicd-builder-0.9.33 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.32 lib/cicd/builder/mixlib/errors.rb