Skip to content

Commit 22d2925

Browse files
authored
Add new error "duplicate request" (#1189)
1 parent d432259 commit 22d2925

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/ParseError.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,15 @@ ParseError.FILE_DELETE_ERROR = 153;
353353
*/
354354
ParseError.REQUEST_LIMIT_EXCEEDED = 155;
355355

356+
/**
357+
* Error code indicating that the request was a duplicate and has been discarded due to
358+
* idempotency rules.
359+
* @property DUPLICATE_REQUEST
360+
* @static
361+
* @final
362+
*/
363+
ParseError.DUPLICATE_REQUEST = 159;
364+
356365
/**
357366
* Error code indicating an invalid event name.
358367
* @property INVALID_EVENT_NAME

0 commit comments

Comments
 (0)