public function getIsClientError() { return $this->getStatusCode() >= 400 && $this->getStatusCode() < 500; }