isServerErrorCode function

bool isServerErrorCode(
  1. int code
)

Implementation

bool isServerErrorCode(int code) {
  return code <= SERVER_ERROR_CODE_RANGE[0] &&
      code >= SERVER_ERROR_CODE_RANGE[1];
}