Class: Docker::Template::Error::BadRepoName
- Inherits:
-
StandardError
- Object
- Docker::Template::Error::BadRepoName
- Defined in:
- lib/docker/template/error.rb
Overview
Instance Method Summary collapse
-
#initialize(name) ⇒ BadRepoName
constructor
A new instance of BadRepoName.
Constructor Details
#initialize(name) ⇒ BadRepoName
Returns a new instance of BadRepoName.
39 40 41 42 43 |
# File 'lib/docker/template/error.rb', line 39 def initialize(name) super "Only a-z0-9_- are allowed. Invalid repo name: #{ name }" end |