Interface: ThrowUnlessFailure

ThrowUnlessFailure

Represents a failure of an expectation evaluated with throwUnless. Properties of this error are a subset of the properties of ExpectationResult and have the same values.

Properties:
Name Type Description
matcherName String

The name of the matcher that was executed for this expectation.

message String

The failure message for the expectation.

Extends

  • Error