Class: Docker::Template::Error::BadRepoName

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

Overview


Instance Method Summary collapse

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