Sha256: 441f9925175574ce1a90eff8a12d16d9665e390e145755cf2da8b1af3bd6ab9b

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 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

3 entries across 3 versions & 1 rubygems

Version Path
facets-2.2.0 lib/core/facets/exception/detail.rb
facets-2.2.1 lib/core/facets/exception/detail.rb
facets-2.3.0 lib/core/facets/exception/detail.rb