mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
errors: refactor to use more primordials
PR-URL: https://github.com/nodejs/node/pull/36167 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
545ac1fec5
commit
bcbf176c22
2 files changed
+6
-4
No files matched your search
@@ -9,7 +9,7 @@ assert.throws(
|
||||
() => { new SystemError(); },
|
||||
{
|
||||
name: 'TypeError',
|
||||
message: 'Cannot read property \'match\' of undefined'
|
||||
message: 'String.prototype.match called on null or undefined'
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user