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