This PR adds an errors attribute to the Report/Event class, containing an array of Bugsnag::Error objects. The Error object is a Struct with error_class, error_message and type attributes
This will replace the current Report#exceptions in the next major version, after the addition of a Error#stacktrace method (currently exceptions contains the stacktrace)
Goal
This PR adds an
errors
attribute to theReport
/Event
class, containing an array ofBugsnag::Error
objects. The Error object is a Struct witherror_class
,error_message
andtype
attributesThis will replace the current
Report#exceptions
in the next major version, after the addition of aError#stacktrace
method (currentlyexceptions
contains the stacktrace)