class Exception
Public Instance Methods
print_full_trace(io=STDOUT)
click to toggle source
# File lib/abstractivator/exception_ext.rb, line 2 def print_full_trace(io=STDOUT) io.puts "#{self.class}: #{message}" backtrace.each do |f| io.puts " at #{f}" end if cause io.puts '--- Caused by ---' cause.print_full_trace(io) end end