Sha256: 05335d2aa3bab130a4cd16209deb34fa2c672e69655df6cddf5e35572a771850

Contents?: true

Size: 1.39 KB

Versions: 7

Compression:

Stored size: 1.39 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
      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

7 entries across 7 versions & 1 rubygems

Version Path
cicd-builder-0.9.31 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.30 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.29 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.28 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.27 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.26 lib/cicd/builder/mixlib/errors.rb
cicd-builder-0.9.25 lib/cicd/builder/mixlib/errors.rb