public function isClientError(): bool
    {
        return $this->statusCode >= StatusCode::BAD_REQUEST
            && $this->statusCode < StatusCode::INTERNAL_SERVER_ERROR;
    }
public function isClientError(): bool
    {
        return $this->statusCode >= StatusCode::BAD_REQUEST
            && $this->statusCode < StatusCode::INTERNAL_SERVER_ERROR;
    }
public function isClientError ( ) : bool { return $ this -> statusCode >= StatusCode :: BAD_REQUEST && $ this -> statusCode < StatusCode :: INTERNAL_SERVER_ERROR ; }
Is there a client error?

@return bool
Is there a client error?