Transforms any Error or Event into a plain object with all of their enumerable properties, and some of their non-enumerable properties attached.
Error
Event
Initial source that we have to transform in order for it to be usable by the serializer
An Event or Error turned into an object - or the value argurment itself, when value is neither an Event nor an Error.
Generated using TypeDoc
Transforms any
Error
orEvent
into a plain object with all of their enumerable properties, and some of their non-enumerable properties attached.