class Exception

Public Instance Methods

backtrace_string(current_location = nil) click to toggle source
# File lib/phusion_passenger/utils.rb, line 856
def backtrace_string(current_location = nil)
        if current_location.nil?
                location = nil
        else
                location = "in #{current_location} "
        end
        return "*** Exception #{self.class} #{location}" <<
                "(#{self}) (process #{$$}, thread #{Thread.current}):\n" <<
                "\tfrom " << backtrace.join("\n\tfrom ")
end