update cpprest petstore sample

This commit is contained in:
wing328
2017-03-11 20:40:22 +08:00
parent 3dfa423151
commit 82ccbc09f7
3 changed files with 8 additions and 8 deletions

View File

@@ -518,7 +518,7 @@ pplx::task<std::vector<std::shared_ptr<Pet>>> PetApi::findPetsByTags(std::vector
else
{
throw ApiException(500
, U("error calling findPetsByStatus: unsupported response type"));
, U("error calling findPetsByTags: unsupported response type"));
}
return result;
@@ -644,7 +644,7 @@ pplx::task<std::shared_ptr<Pet>> PetApi::getPetById(int64_t petId)
else
{
throw ApiException(500
, U("error calling findPetsByStatus: unsupported response type"));
, U("error calling getPetById: unsupported response type"));
}
return result;
@@ -1005,7 +1005,7 @@ pplx::task<std::shared_ptr<ApiResponse>> PetApi::uploadFile(int64_t petId, utili
else
{
throw ApiException(500
, U("error calling findPetsByStatus: unsupported response type"));
, U("error calling uploadFile: unsupported response type"));
}
return result;