Class: Docker::Template::Error::InvalidRepoType

Inherits:
StandardError
  • Object
show all
Defined in:
lib/docker/template/error.rb

Overview


Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ InvalidRepoType



49
50
51
52
53
54
# File 'lib/docker/template/error.rb', line 49

def initialize(type)
  build_types = Template.config.build_types.join(", ")
  super "Uknown repo type given '#{type}' not in '#{
    build_types
  }'"
end