class assert.AssertionError
extendsError
Indicates the failure of an assertion. All errors thrown by the node:assert module will be instances of the AssertionError class.
actual: unknownSet to the actual argument for methods such as assert.strictEqual().
code: "ERR_ASSERTION"Value is always ERR_ASSERTION to show that the error is an assertion error.
expected: unknownSet to the expected argument for methods such as assert.strictEqual().
generatedMessage: booleanIndicates if the message was auto-generated (true) or not.
operator: stringSet to the passed in operator value.