Exception: Docker::Template::Error::RepoNotFound

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

Instance Method Summary collapse

Constructor Details

#initialize(repo = nil) ⇒ RepoNotFound

Returns a new instance of RepoNotFound.



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

def initialize(repo = nil)
  ending = repo ? "the repo '#{repo}'" : "your repo folder"
  super "Unable to find #{ending}"
end