Sha256: 96ddb97a6263acc0dadd070dc59ad20e30a9048393f887c594a2cca34d8f5c97

Contents?: true

Size: 352 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 2 rubygems

Version Path
facets-2.4.0 lib/facets/exception/detail.rb
facets-2.4.1 lib/facets/exception/detail.rb
facets-2.4.2 lib/core/facets/exception/detail.rb
facets-2.4.3 lib/core/facets/exception/detail.rb
facets-2.4.4 lib/core/facets/exception/detail.rb
facets-2.4.5 lib/core/facets/exception/detail.rb
mack-facets-0.8.2 lib/gems/facets-2.4.5/lib/core/facets/exception/detail.rb