toStringbeginnerconst e = new Error('fail')
`${e}` // β 'Error: fail'Template literals implicitly call toString() on the interpolated error.
The string representation includes both the error name and the message.
Challenge: Verify that toString() contains both.