class Sentry::CustomExceptionInterface
Constants
- SKIP_INSPECTION_ATTRIBUTES
Attributes
message[R]
type[R]
Public Class Methods
new(type:, message:, stacktrace: nil)
click to toggle source
# File lib/fluent/plugin/out_sentry.rb, line 125 def initialize(type:, message:, stacktrace: nil) @type = type @value = message @stacktrace = stacktrace end
Public Instance Methods
to_hash()
click to toggle source
Calls superclass method
# File lib/fluent/plugin/out_sentry.rb, line 131 def to_hash data = super data[:stacktrace] = data[:stacktrace].to_hash if data[:stacktrace] data end