A plain Error instance - created exclusively via the base Error constructor:
Error
new Error()
Excludes subclass instances like TypeError, SyntaxError, or custom errors. The __constructor is strictly the built-in Error function.
TypeError
SyntaxError
__constructor
A plain
Errorinstance - created exclusively via the baseErrorconstructor:new Error()Excludes subclass instances like
TypeError,SyntaxError, or custom errors. The__constructoris strictly the built-inErrorfunction.