Exception: Migrator::MigratorNoOldpathError Private

Inherits:
RuntimeError
  • Object
show all
Defined in:
migrator.rb

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Error for when the old name's path does not exist.

Instance Method Summary collapse

Constructor Details

#initialize(oldname) ⇒ MigratorNoOldpathError

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns a new instance of MigratorNoOldpathError.



24
25
26
# File 'migrator.rb', line 24

def initialize(oldname)
  super "#{HOMEBREW_CELLAR/oldname} doesn't exist."
end