Method: Olib::Errors::Fatal#initialize
- Defined in:
- lib/Olib/core/errors.rb
#initialize(message = nil) ⇒ Fatal
Returns a new instance of Fatal.
27 28 29 30 31 32 33 34 |
# File 'lib/Olib/core/errors.rb', line 27 def initialize(=nil) unless = String.new .concat "\n\nAn Olib::Errors::Fatal was raised but not rescued in an Olib method" .concat "\nyou should rescue this error if it isn't fatal and you don't want your script to break" end super Errors.indent end |