Sha256: 425e299302765c4bdb5e71e39a0b9d22aec2f64e7d936ac4a0729989d779c82c

Contents?: true

Size: 244 Bytes

Versions: 4

Compression:

Stored size: 244 Bytes

Contents

class ::Exception
  def patch_full_message
    msg = []
    msg << "\n#{backtrace.first} \n#{message} (#{self.class.to_s})"
    backtrace[1..-1].each_with_index {|bt, i| msg << "#{" "*8}#{i+1}: from #{bt}"}
    msg.join("\n")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eco-helpers-1.5.1 lib/eco/api/common/version_patches/exception.rb
eco-helpers-1.5.0 lib/eco/api/common/version_patches/exception.rb
eco-helpers-1.4.2 lib/eco/api/common/version_patches/exception.rb
eco-helpers-1.3.19 lib/eco/api/common/version_patches/exception.rb