# assert.AssertionError
Indicates the failure of an assertion. All errors thrown by the assert module will be instances of the AssertionError
class.
NOTE
This is an abstract type. Any object of this structure can be used where this type is used.
# Properties
# generatedMessage
generatedMessage :Boolean
Indicates if the message was auto-generated (true
) or not.
# Methods
# constructor
constructor([options]) → assert.AssertionError
A subclass of Error
that indicates the failure of an assertion.
Parameters
Name | Type | Description |
---|---|---|
options | assert.AssertionError.options | options |