util: require isNativeError
from internalBinding · nodejs/node@169f3f7 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 169f3f7
authored and
committed
util: require isNativeError
from internalBinding
PR-URL: #23081Reviewed-By: Ruben Bridgewater ruben@bridgewater.de Reviewed-By: Sakthipriyan Vairamani thechargingvolcano@gmail.com Reviewed-By: Weijia Wang starkwang@126.com Reviewed-By: Joyee Cheung joyeec9h3@gmail.com Reviewed-By: Refael Ackermann refack@gmail.com Reviewed-By: Denys Otrishko shishugi@gmail.com Reviewed-By: John-David Dalton john.david.dalton@gmail.com Reviewed-By: Anna Henningsen anna@addaleax.net
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -12,9 +12,7 @@ const { | ||
12 | 12 | arrow_message_private_symbol: kArrowMessagePrivateSymbolIndex, |
13 | 13 | decorated_private_symbol: kDecoratedPrivateSymbolIndex |
14 | 14 | } = internalBinding('util'); |
15 | -const { | |
16 | - isNativeError | |
17 | -} = require('internal/util/types'); | |
15 | +const { isNativeError } = internalBinding('types'); | |
18 | 16 | |
19 | 17 | const noCrypto = !process.versions.openssl; |
20 | 18 |