Exception: Docker::Template::Error::BadRepoName

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ BadRepoName

Returns a new instance of BadRepoName.



9
10
11
# File 'lib/docker/template/error/bad_repo_name.rb', line 9

def initialize(name)
  super "Only a-z0-9_- are allowed. Invalid repo name: #{name}"
end