Exception: Exception

Defined in:
twbot3.rb

Overview

Extension of `Exception` class for formatting exception message for twbot3.rb

Instance Method Summary collapse

Instance Method Details

#twbot_errorlog_formatObject

Formats exception message for twbot3.rb.



771
772
773
# File 'twbot3.rb', line 771

def twbot_errorlog_format
  "#{self.class}: #{self}\n"+self.backtrace.map{ |x| "\t#{x}" }.join("\n")
end