Sha256: 220ad7c4e0a47090cb45df4b7e5587be8c0f5c1d47bb5e133ee2e7b63bbc7919

Contents?: true

Size: 342 Bytes

Versions: 17

Compression:

Stored size: 342 Bytes

Contents

require 'raven/interface'

module Raven
  class SingleExceptionInterface < Interface
    attr_accessor :type
    attr_accessor :value
    attr_accessor :module
    attr_accessor :stacktrace

    def to_hash(*args)
      data = super(*args)
      data[:stacktrace] = data[:stacktrace].to_hash if data[:stacktrace]
      data
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sentry-raven-2.6.3 lib/raven/interfaces/single_exception.rb
sentry-raven-2.6.2 lib/raven/interfaces/single_exception.rb
sentry-raven-2.6.1 lib/raven/interfaces/single_exception.rb
sentry-raven-2.6.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.5.3 lib/raven/interfaces/single_exception.rb
sentry-raven-2.5.2 lib/raven/interfaces/single_exception.rb
sentry-raven-2.5.1 lib/raven/interfaces/single_exception.rb
sentry-raven-2.5.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.4.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.3.1 lib/raven/interfaces/single_exception.rb
sentry-raven-2.3.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.2.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.1.4 lib/raven/interfaces/single_exception.rb
sentry-raven-2.1.3 lib/raven/interfaces/single_exception.rb
sentry-raven-2.1.2 lib/raven/interfaces/single_exception.rb
sentry-raven-2.1.1 lib/raven/interfaces/single_exception.rb
sentry-raven-2.1.0 lib/raven/interfaces/single_exception.rb