Exception: Dotbot::GitError

Inherits:
DotbotError show all
Defined in:
lib/dotbot/errors.rb

Instance Method Summary collapse

Methods inherited from DotbotError

#initialize

Constructor Details

This class inherits a constructor from Dotbot::DotbotError

Instance Method Details

#help_text(message = nil) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/dotbot/errors.rb', line 42

def help_text(message=nil)
  "    \u{1F480}  Git experienced an issue  \u{1F480}\n    ----------------------------\n\n    For some reason git was unable to complete the '\#{message}' operation.\n    Make sure your configured Dotbot directory is a git repo that has\n    a remote configured.  Make sure you can git push and git pull from\n    that directory before running '\#{message}' again.\n  \n  HEREDOC\nend\n"