internal/errors: improve ERR_INVALID_ARG_TYPE by BridgeAR · Pull Request #13730 · nodejs/node

@nodejs-github-bot added the errors

Issues and PRs related to JavaScript errors originated in Node.js core.

label

Jun 17, 2017

@refack refack added the semver-major

PRs that contain breaking changes and should be released in the next major version.

label

Jun 17, 2017

TimothyGu

lpinca

tniessen

mhdawson

@jasnell jasnell removed the semver-major

PRs that contain breaking changes and should be released in the next major version.

label

Jun 20, 2017

tniessen

@BridgeAR

The error message might be misleading if a object property
was the issue and not the argument itself.

Fix this by checking if a argument or a property is passed
to the handler function.

refack pushed a commit to refack/node that referenced this pull request

Jun 22, 2017
The error message might be misleading if an object property
was the issue and not the argument itself.

Fix this by checking if a argument or a property is passed
to the handler function.

PR-URL: nodejs#13730
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>

This was referenced

Jun 25, 2017