# assert.AssertionError.options

options used in the assert.AssertionError constructor argument

Availability
0.8
0.8
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# actual

Availability
0.8
0.8
9.2.0
actual :any

The actual property on the error instance.


# expected

Availability
0.8
0.8
9.2.0
expected :any

The expected property on the error instance.


# message

Availability
0.8
0.8
9.2.0
message :String

If provided, the error message is set to this value.


# operator

Availability
0.8
0.8
9.2.0
operator :String

The operator property on the error instance.


# stackStartFn

Availability
0.8
0.8
9.2.0
stackStartFn :Function

If provided, the generated stack trace omits frames before this function.