| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -295,7 +295,7 @@ function setupNextTick() { | |||
| 295 | 295 | // about to exit since the callback would not have a chance to be executed. | |
| 296 | 296 | function internalNextTick(triggerAsyncId, callback) { | |
| 297 | 297 | if (typeof callback !== 'function') | |
| 298 | - throw new TypeError('callback is not a function'); | ||
| 298 | + throw new errors.TypeError('ERR_INVALID_CALLBACK'); | ||
| 299 | 299 | // CHECK(Number.isSafeInteger(triggerAsyncId) || triggerAsyncId === null) | |
| 300 | 300 | // CHECK(triggerAsyncId > 0 || triggerAsyncId === null) | |
| 301 | 301 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments