Sha256: 89761894af169ec1884f9a0b38d6ac674408ce13a39347275933fb91f72f5222

Contents?: true

Size: 351 Bytes

Versions: 10

Compression:

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

10 entries across 10 versions & 1 rubygems

Version Path
facets-2.8.4 lib/core/facets/exception/detail.rb
facets-2.8.3 lib/core/facets/exception/detail.rb
facets-2.8.2 lib/core/facets/exception/detail.rb
facets-2.8.1 lib/core/facets/exception/detail.rb
facets-2.8.0 lib/core/facets/exception/detail.rb
facets-2.7.0 lib/core/facets/exception/detail.rb
facets-2.6.0 lib/core/facets/exception/detail.rb
facets-2.5.1 lib/core/facets/exception/detail.rb
facets-2.5.0 lib/core/facets/exception/detail.rb
facets-2.5.2 lib/core/facets/exception/detail.rb