Exception: Errors::TooHeavy

Inherits:
Exception
  • Object
show all
Defined in:
lib/Olib/core/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeTooHeavy

Returns a new instance of TooHeavy.



71
72
73
74
75
76
# File 'lib/Olib/core/errors.rb', line 71

def initialize
  message = String.new
  message.concat "\n\nYou were too heavy to do something!"
  message.concat "\nyou should rescue this error if you don't want your script to break"
  super Errors.indent message
end