Exception: Docker::Template::Error::InvalidRepoType
- Defined in:
- lib/docker/template/error/invalid_repo_type.rb
Instance Method Summary collapse
-
#initialize(type) ⇒ InvalidRepoType
constructor
A new instance of InvalidRepoType.
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 |