Class: Raven::ExceptionInterface

Inherits:
Interface show all
Defined in:
lib/raven/interfaces/exception.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Interface

inherited, #initialize, registered

Constructor Details

This class inherits a constructor from Raven::Interface

Instance Attribute Details

#valuesObject

Returns the value of attribute values.



5
6
7
# File 'lib/raven/interfaces/exception.rb', line 5

def values
  @values
end

Class Method Details

.sentry_aliasObject



7
8
9
# File 'lib/raven/interfaces/exception.rb', line 7

def self.sentry_alias
  :exception
end

Instance Method Details

#to_hash(*args) ⇒ Object



11
12
13
14
15
# File 'lib/raven/interfaces/exception.rb', line 11

def to_hash(*args)
  data = super(*args)
  data[:values] = data[:values].map(&:to_hash) if data[:values]
  data
end