Returns status description by it's code.

@param status Status code
@return Status Description
484183
public static String getStatusDescription(int status)
   {
      String description = "";

      Integer statusKey = new Integer(status);
      if (statusDescriptions.containsKey(statusKey))
      {
         description = statusDescriptions.get(statusKey);
      }

      return String.format("%s %d %s", WebDavConst.HTTPVER, status, description);
   }
979214
public String getStatusString()
	{
		switch (status) {
		case ErrorCodes.NO_ERROR:
			return "connection state is normal";
		case ErrorCodes.CONNECTION_ID:
			return "server could not find active data connection with specified ID";
		case ErrorCodes.DATA_CONNECTION:
			return "server detected error concerning the data connection";
		case ErrorCodes.KNX_CONNECTION:
			return "server detected error concerning the KNX bus/subsystem connection";
		default:
			return "unknown status";
		}
	}
171428
def status_code(self):
        
        try:
            return self._status_code
        except AttributeError:
            self._status_code = self._response.getcode()
        return self._status_code
1368001
public static <T> GenericResponseBuilder<T> status(Response.StatusType status) {
    if (status == null) {
      throw new NullPointerException("status:null");
    }

    return status(status.getStatusCode());
  }
1326927
def get_description(status_code):
    
    description = _descriptions.get(status_code)
    if description is None:
        description = 'code = %s (no description)' % str(status_code)
    return description
1003970
private String convert(final T status) {
        if (adapter == null) {
            throw new IllegalStateException(
                    "Adapter must be set before usage! Convertion without adapter is not possible!");
        }
        final StatusFontIcon statusProps = adapter.adapt(status);
        // fail fast
        if (statusProps == null) {
            return "";
        }
        final String codePoint = getCodePoint(statusProps);
        final String title = statusProps.getTitle();
        return getStatusLabelDetailsInString(codePoint, statusProps.getStyle(), title, statusProps.getId(),
                statusProps.isDisabled());
    }
34542
public static String[] getNames(Status[] status) {
    if (status == null) {
      return null;
    }
    String[] statusNames = new String[status.length];
    for (int i = 0; i < statusNames.length; i++) {
      statusNames[i] = status[i].getName();
    }
    return statusNames;
  }
690537
@Override
    public int getStatus() throws SystemException
    {
        Transaction tx = threadLocal.get();
        if (tx == null)
        {
            return Status.STATUS_NO_TRANSACTION;
        }
        return tx.getStatus();
    }
888150
public static String parseDescription(int status) {
        String desc = null;
        if (status < 500) {
            if (status == 402
                    || (status > 417 && status < 421)
                    || status > 424) {
                desc = ErrorMessage.getLocaleDescription(400);
            } else {
                desc = ErrorMessage.getLocaleDescription(status);
            }
        } else {
            switch (status) {
                case 501:
                    desc = ErrorMessage.getLocaleDescription(status);
                    break;
            }
        }

        if (desc == null) {
            desc = ErrorMessage.getLocaleDescription();
        }

        return desc;
    }
668384
public static io.opencensus.trace.Status fromGrpcStatus(io.grpc.Status grpcStatus) {
    io.opencensus.trace.Status status = opencensusStatusFromGrpcCode(grpcStatus.getCode());
    String description = grpcStatus.getDescription();
    if (description != null) {
      status = status.withDescription(description);
    }
    return status;
  }
127469
public function getStatusClass($status)
    {
        switch ($status) {
            case static::Status_Success:
                $result = 'success';
                break;
            case static::Status_Info:
                $result = 'info';
                break;
            case static::Status_Warning:
                $result = 'warning';
                break;
            case static::Status_Error:
            default:
                $result = 'error';
                break;
        }
        return $result;
    }
1263171
public Long getTotalTargetCountByStatus(final Status status) {
        final Long count = statusTotalCountMap.get(status);
        return count == null ? 0L : count;
    }
1306428
def getStatusCode(self):
        

        if 'status' in self._response.keys():
            if (self._response['status'] is not None) and ('code' in self._response['status'].keys()) and (self._response['status']['code'] is not None):
                return self._response['status']['code']

            else:
                return None
        else:
            return None
1313368
public function status($status = null)
        {
            if (is_null($status)) {
                return $this->foundation->getStatusCode();
            } else {
                $this->foundation->setStatusCode($status);

                return $this;
            }
        }
948145
public function getStatusCode()
    {
        $statusCodeParser = new StatusCodeParser($this->rawStatusCode, parse_url($this->effective, PHP_URL_SCHEME));
        return $statusCodeParser->isValid() ? $this->rawStatusCode : null;
    }
539875
public SoapClientResponseActionBuilder status(HttpStatus status) {
        soapMessage.header(SoapMessageHeaders.HTTP_STATUS_CODE, status.value());
        return this;
    }
1264699
private function getAmountStatusTitle($status)
    {
        $result = '';
        if ($status > static::Status_Success) {
            $result = $this->t('amount_status_' . $status);
        }
        return $result;
    }