Sha256: 0622cddcfff6536588ef7c20da8ed4fbb5d4cc882cefa06340152a077e7fc09c

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

module Sentry
  class SingleExceptionInterface < Interface
    attr_accessor :type
    attr_accessor :value
    attr_accessor :module
    attr_accessor :thread_id
    attr_accessor :stacktrace

    def to_hash
      data = super
      data[:stacktrace] = data[:stacktrace].to_hash if data[:stacktrace]
      data
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sentry-ruby-core-4.2.2 lib/sentry/interfaces/single_exception.rb