Sha256: c5e028bfa7934feedcae58c458b724c65f850e4bbbf3c8df62adc925e790135e

Contents?: true

Size: 315 Bytes

Versions: 26

Compression:

Stored size: 315 Bytes

Contents

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

26 entries across 26 versions & 3 rubygems

Version Path
sentry-raven-3.1.2 lib/raven/interfaces/single_exception.rb
sentry-raven-3.1.1 lib/raven/interfaces/single_exception.rb
sentry-raven-3.1.0 lib/raven/interfaces/single_exception.rb
sentry-raven-3.0.4 lib/raven/interfaces/single_exception.rb
sentry-raven-3.0.3 lib/raven/interfaces/single_exception.rb
sentry-raven-3.0.2 lib/raven/interfaces/single_exception.rb
sentry-raven-3.0.1 lib/raven/interfaces/single_exception.rb
sentry-raven-3.0.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.13.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.12.3 lib/raven/interfaces/single_exception.rb
sentry-raven-2.12.2 lib/raven/interfaces/single_exception.rb
sentry-raven-2.12.1 lib/raven/interfaces/single_exception.rb
sentry-raven-2.12.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.11.3 lib/raven/interfaces/single_exception.rb
sentry-raven-2.11.2 lib/raven/interfaces/single_exception.rb
sentry-raven-2.11.1 lib/raven/interfaces/single_exception.rb
sentry-raven-2.11.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.10.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.9.0 lib/raven/interfaces/single_exception.rb
sentry-raven-2.8.0 lib/raven/interfaces/single_exception.rb