/// <exception cref="VPackParserException"/> private string createErrorMessage(Response response) { string errorMessage; ErrorEntity errorEntity = this.vpack.deserialize(response.getBody( ), typeof(ErrorEntity)); errorMessage = string.format("Response: %s, Error: %s - %s", errorEntity.getCode( ), errorEntity.getErrorNum(), errorEntity.getErrorMessage()); return(errorMessage); }