class Artifactory::Error::InvalidBuildType

A general connection error with a more informative message

Public Class Methods

new(given_type) click to toggle source
Calls superclass method
# File lib/artifactory/errors.rb, line 46
      def initialize(given_type)
        super <<~EOH
          '#{given_type}' is not a valid build type.

          Valid build types include:

              #{Resource::Build::BUILD_TYPES.join("\n    ")}"

        EOH
      end