Restores fields omitted because they held their documented expected values, turning a corj/v0.15 report into its corj/v0.15-full form. Accepts an object or an array report and returns a copy.
corj/v0.15
corj/v0.15-full
const full = Corj.restoreCaughtObjectReportExpectedValues(Corj.makeCaughtObjectReport(new Error('x')));// full.instanceof_error === true, full.message === 'x', full.constructor_name === 'Error', full.v === 'corj/v0.15-full' Copy
const full = Corj.restoreCaughtObjectReportExpectedValues(Corj.makeCaughtObjectReport(new Error('x')));// full.instanceof_error === true, full.message === 'x', full.constructor_name === 'Error', full.v === 'corj/v0.15-full'
Restores fields omitted because they held their documented expected values, turning a
corj/v0.15report into itscorj/v0.15-fullform. Accepts an object or an array report and returns a copy.