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.



79
80
81
82
83
84
# File 'lib/docker/template/error.rb', line 79

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