Commit 5e1f32fd authored by James M Snell's avatar James M Snell
Browse files

process: add optional code to warnings + type checking

Add the ability to assign an optional code to process warnings +
add additional type checking to ensure that names and codes can
only be strings.

PR-URL: https://github.com/nodejs/node/pull/10116


Reviewed-By: default avatarMichael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: default avatarMichal Zasso <targos@protonmail.com>
Reviewed-By: default avatarFedor Indutny <fedor.indutny@gmail.com>
parent 60d77bd5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment