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.



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