new ResponsePredicateResult()
Methods
message() → {string}
The failure message. May be
null.
Returns:
- Type
- string
response() → {HttpResponse}
The which has been tested.
Returns:
null after the result has been created, or the tested response for converters created with ErrorConverter#createFullBody
- Type
- HttpResponse
succeeded() → {boolean}
Whether the result is a success or failure.
Returns:
true if the ResponsePredicate was applied successfully, false otherwise
- Type
- boolean