assert.AssertionError 类
- 继承自: <errors.Error>
表示断言的失败。
node:assert
模块抛出的所有错误都是 AssertionError
类的实例。
- Extends: <errors.Error>
Indicates the failure of an assertion. All errors thrown by the node:assert
module will be instances of the AssertionError
class.