Exception: Dotbot::DotbotError
- Inherits:
-
StandardError
- Object
- StandardError
- Dotbot::DotbotError
- Defined in:
- lib/dotbot/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
- #help_text(message = nil) ⇒ Object
-
#initialize(message = nil) ⇒ DotbotError
constructor
A new instance of DotbotError.
Constructor Details
#initialize(message = nil) ⇒ DotbotError
Returns a new instance of DotbotError.
4 5 6 7 |
# File 'lib/dotbot/errors.rb', line 4 def initialize(=nil) STDERR.puts help_text() super end |
Instance Method Details
#help_text(message = nil) ⇒ Object
9 10 11 |
# File 'lib/dotbot/errors.rb', line 9 def help_text(=nil) "A generic Dotbot Error has occurred." end |