lib/garcon/exceptions.rb
# Pretty string output of exception/error object useful for helpful
# debug messages.
#
Pretty string output of exception/error object useful for helpful
debug messages.
Pretty string output of exception / error object useful for helpful debug messages .
def detail
        if backtrace
          %{#{self.class.name}: #{message}\n  #{backtrace.join("\n  ")}\n  LOGGED FROM: #{caller[0]}}
        else
          %{#{self.class.name}: #{message}\n  LOGGED FROM: #{caller[0]}}
        end
      end
def detail if backtrace %{#{self.class.name}: #{message}\n  #{backtrace.join("\n  ")}\n  LOGGED FROM: #{caller[0]}} else %{#{self.class.name}: #{message}\n  LOGGED FROM: #{caller[0]}} end end
Pretty string output of exception/error object useful for helpful
debug messages.
Pretty string output of exception / error object useful for helpful debug messages .