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