isClientErrorResponse top-level constant

Matcher const isClientErrorResponse

Matches a response with status code in the 4xx range.

Implementation

const Matcher isClientErrorResponse = _StatusRangeMatcher(
  400,
  499,
  'client error (4xx)',
);