From 4a19ac456ca5cedff35f46e883eb2cb6c7039dad Mon Sep 17 00:00:00 2001 From: Manuel Trezza Date: Sat, 4 Jul 2020 18:50:20 +0200 Subject: [PATCH] add new error "duplicate request" --- src/ParseError.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ParseError.js b/src/ParseError.js index 13bdb43c3..b3e048ba9 100644 --- a/src/ParseError.js +++ b/src/ParseError.js @@ -353,6 +353,15 @@ ParseError.FILE_DELETE_ERROR = 153; */ ParseError.REQUEST_LIMIT_EXCEEDED = 155; +/** + * Error code indicating that the request was a duplicate and has been discarded due to + * idempotency rules. + * @property DUPLICATE_REQUEST + * @static + * @final + */ +ParseError.DUPLICATE_REQUEST = 159; + /** * Error code indicating an invalid event name. * @property INVALID_EVENT_NAME