class Olib::Errors::Fatal
used to exit a thread early due to an error that Olib
cannot resolve internally
Public Class Methods
new(message=nil)
click to toggle source
Calls superclass method
# File lib/Olib/core/errors.rb, line 27 def initialize(message=nil) unless message message = String.new message.concat "\n\nAn Olib::Errors::Fatal was raised but not rescued in an Olib method" message.concat "\nyou should rescue this error if it isn't fatal and you don't want your script to break" end super Errors.indent message end