Sha256: a0523d56ffd350a51ee78e294eccfb807844d319c3f277c751c5867df7e125e9

Contents?: true

Size: 1.55 KB

Versions: 4

Compression:

Stored size: 1.55 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
      NO_PROJECT_NAMES            = i+=1
      NO_PROJECTS_PATH            = i+=1

      require 'awesome_print'

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

		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cicd-builder-0.9.38 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.37 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.36 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.35 lib/cicd/builder/mixlib/errors.rb