Sha256: d450af7d81072412ca00bc0b231d87d7ea0a12d9e6791404e51d18b717c8eced

Contents?: true

Size: 371 Bytes

Versions: 4

Compression:

Stored size: 371 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 %{#{self.class.name}: #{message}\n  #{backtrace.join("\n  ")}\n  LOGGED FROM: #{caller[0]}}
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 lib/core/facets/exception/detail.rb
facets-2.9.0 lib/core/facets/exception/detail.rb
facets-2.9.0.pre.2 lib/core/facets/exception/detail.rb
facets-2.9.0.pre.1 lib/core/facets/exception/detail.rb