Exception: Docker::Template::Error::InvalidRepoType

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

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ InvalidRepoType



9
10
11
12
# File 'lib/docker/template/error/invalid_repo_type.rb', line 9

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