Class: Raven::ExceptionInterface

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

Instance Method Summary collapse

Methods inherited from Interface

#assert_required_properties_set!, #initialize, name

Constructor Details

This class inherits a constructor from Raven::Interface

Instance Method Details

#to_hash(*args) ⇒ Object



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

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