Class: Ketchup::Exception::Error

Inherits:
Object
  • Object
show all
Includes:
SupportedMongos, Mongoid::Document
Defined in:
lib/rails/error.rb

Instance Method Summary collapse

Instance Method Details

#join_backtraceObject

Internal - Joins the backtrace array of an Exception into a String.



17
18
19
# File 'lib/rails/error.rb', line 17

def join_backtrace
  self.backtrace = self.backtrace.join("\n") if self.backtrace.respond_to?(:join)
end