Class | Exception
In: | lib/phusion_passenger/utils.rb
Parent: | Object

### Methods

backtrace_string

### Public Instance methods

backtrace_string(current_location = nil)

[Source]

         # File lib/phusion_passenger/utils.rb, line 858
    858:         def backtrace_string(current_location = nil)
    859:                 if current_location.nil?
    860:                         location = nil
    861:                 else
    862:                         location = "in #{current_location} "
    863:                 end
    864:                 return "*** Exception #{self.class} #{location}" <<
    865:                         "(#{self}) (process #{$$}, thread #{Thread.current}):\n" <<
    866:                         "\tfrom " << backtrace.join("\n\tfrom ")
    867:         end

[Validate]