Exception: Hatchet::BadRepoName

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hatchet/config.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, paths) ⇒ BadRepoName

Returns a new instance of BadRepoName.



9
10
11
12
13
14
15
# File 'lib/hatchet/config.rb', line 9

def initialize(name, paths)
  msg = "could not find repo: '#{name}', check for spelling or " <<
        "duplicate repos. Run `$ hatchet list` to see all "   <<
        "repo options. Checked in #{paths.inspect}. \n\n" <<
        "  make sure repos are installed by running `$ hatchet install`"
  super(msg)
end