ERR_AMBIGUOUS_ARGUMENT
函数参数的使用方式表明函数签名可能被误解。当 assert.throws(block, message) 中的 message 参数与 block 抛出的错误消息匹配时,node:assert 模块会抛出此异常,因为这种用法表明用户认为 message 是预期消息,而不是当 block 未抛出异常时 AssertionError 将显示的消息。
【A function argument is being used in a way that suggests that the function
signature may be misunderstood. This is thrown by the node:assert module when
the message parameter in assert.throws(block, message) matches the error
message thrown by block because that usage suggests that the user believes
message is the expected message rather than the message the AssertionError
will display if block does not throw.】