Exception: Errors::TooHeavy
- Inherits:
-
Exception
- Object
- Exception
- Errors::TooHeavy
- Defined in:
- lib/Olib/core/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ TooHeavy
constructor
A new instance of TooHeavy.
Constructor Details
#initialize ⇒ TooHeavy
Returns a new instance of TooHeavy.
71 72 73 74 75 76 |
# File 'lib/Olib/core/errors.rb', line 71 def initialize = String.new .concat "\n\nYou were too heavy to do something!" .concat "\nyou should rescue this error if you don't want your script to break" super Errors.indent end |