Class: Docker::Template::Error::RepoNotFound

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

Overview


Instance Method Summary collapse

Constructor Details

#initialize(repo = nil) ⇒ RepoNotFound

Returns a new instance of RepoNotFound.



120
121
122
123
124
125
# File 'lib/docker/template/error.rb', line 120

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