isServerErrorResponse top-level constant
Matcher
const isServerErrorResponse
Matches a response with status code in the 5xx range.
Implementation
const Matcher isServerErrorResponse = _StatusRangeMatcher(
500,
599,
'server error (5xx)',
);