matchStatus

fun matchStatus(description: String, predicate: (Status) -> Boolean): StatusMatcher(source)

Builds a custom status matcher described by description.

Use this when the matching rule matters to the endpoint contract but cannot be expressed as one fixed status or a small set of statuses.