isClientErrorStatusCode static method

bool isClientErrorStatusCode(
  1. int statusCode
)

Implementation

static bool isClientErrorStatusCode(int statusCode) {
  return statusCode >= 400 && statusCode < 500;
}