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.
35 36 37 38 39 |
# File 'lib/docker/template/error.rb', line 35 def initialize(name) super "Only a-z0-9_- are allowed. Invalid repo name: #{ name }" end |