From bcb47a3dfc74a2b917783a231a95d24ab878924d Mon Sep 17 00:00:00 2001 From: EMcG0402429 Date: Mon, 29 Nov 2021 15:32:36 +0000 Subject: [PATCH] Add remark to Error in transaction response --- .../TransactionApi/Models/PostTransactionResponse.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arangodb-net-standard/TransactionApi/Models/PostTransactionResponse.cs b/arangodb-net-standard/TransactionApi/Models/PostTransactionResponse.cs index a595b27b..ed001d48 100644 --- a/arangodb-net-standard/TransactionApi/Models/PostTransactionResponse.cs +++ b/arangodb-net-standard/TransactionApi/Models/PostTransactionResponse.cs @@ -11,6 +11,12 @@ public class PostTransactionResponse /// /// Whether the request resulted in error. /// + /// + /// Note that in cases where an error occurs, the ArangoDBNetStandard + /// client will throw an rather than + /// populating this property. A try/catch block should be used instead + /// for any required error handling. + /// public bool Error { get; set; } /// @@ -23,4 +29,4 @@ public class PostTransactionResponse /// public T Result { get; set; } } -} \ No newline at end of file +}