Exception: PGit::Configuration::ProjectMissingError

Inherits:
LayoutError
  • Object
show all
Defined in:
lib/pgit/configuration/project_missing_error.rb

Instance Method Summary collapse

Methods inherited from LayoutError

#prepend_general_message

Constructor Details

#initialize(path) ⇒ ProjectMissingError

Returns a new instance of ProjectMissingError.



4
5
6
7
# File 'lib/pgit/configuration/project_missing_error.rb', line 4

def initialize(path)
  @message = prepend_general_message "#{path} needs at least one project."
  super(@message)
end