Sha256: 8867c6070457f7e7c15c21c42e87334fec86cbff40f811351f4d455612c9b824

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

class Exception

  # Pretty string output of exception/error
  # object useful for helpful debug messages.
  #
  # Input:
  # The Exception/StandardError object
  #
  # Output:
  # the pretty printed string
  #
  #   CREDIT: George Moschovitis

  def detail
    return %{#{message}\n  #{backtrace.join("\n  ")}\n  LOGGED FROM: #{caller[0]}}
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.1.2 lib/core/facets/exception/detail.rb
facets-2.1.3 lib/core/facets/exception/detail.rb