You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or [<RegExp>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp)
190
+
if a string is provided for `message`, expected error must have it for its
191
+
`message` property; if a regular expression is provided for `message`, the
192
+
regular expression must match the `message` property of the expected error
193
+
194
+
* return function suitable for use as a validation function passed as the second
195
+
argument to `assert.throws()`
196
+
197
+
The expected error should be [subclassed by the `internal/errors` module](https://github.com/nodejs/node/blob/master/doc/guides/using-internal-errors.md#api).
0 commit comments