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

@@ -259,7 +259,7 @@ pplx::task<std::map<utility::string_t, int32_t>> StoreApi::getInventory()
else
{
throw ApiException(500
, U("error calling findPetsByStatus: unsupported response type"));
, U("error calling getInventory: unsupported response type"));
}
return result;
@@ -377,7 +377,7 @@ pplx::task<std::shared_ptr<Order>> StoreApi::getOrderById(int64_t orderId)
else
{
throw ApiException(500
, U("error calling findPetsByStatus: unsupported response type"));
, U("error calling getOrderById: unsupported response type"));
}
return result;
@@ -513,7 +513,7 @@ pplx::task<std::shared_ptr<Order>> StoreApi::placeOrder(std::shared_ptr<Order> b
else
{
throw ApiException(500
, U("error calling findPetsByStatus: unsupported response type"));
, U("error calling placeOrder: unsupported response type"));
}
return result;