Interpolating objects in error messages (e.g. like console.error)

Perhaps the Error cause proposal could help with that particular example?

throw new Error('Value was not a string', { cause: value })