Skip to content

Commit

Permalink
Add new error "duplicate request" (#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Jul 9, 2020
1 parent d432259 commit 22d2925
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/ParseError.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22d2925

Please sign in to comment.