Skip to content

Commit

Permalink
Merge pull request #23 from ably/reactor-codes
Browse files Browse the repository at this point in the history
Generalise 'webhook' codes to 'reactor'; add 70003 max concurrency exceeded
  • Loading branch information
SimonWoolf authored Nov 27, 2017
2 parents 7f1775b + 1c2d624 commit de3d1a8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions protocol/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,11 @@
"50002": "internal connection error",
"50003": "timeout error",

/* webhook-related */
"70000": "webhook operation failed",
"70001": "webhook operation failed (post operation failed)",
"70002": "webhook operation failed (post operation returned unexpected code)",
"70003": "unable to recover channel (messages expired)",
"70004": "unable to recover channel (message limit exceeded)",
"70005": "unable to recover channel (history incomplete)",
/* reactor-related */
"70000": "reactor operation failed",
"70001": "reactor operation failed (post operation failed)",
"70002": "reactor operation failed (post operation returned unexpected code)",
"70003": "reactor operation failed (maximum number of concurrent in-flight requests exceeded)",

/* connection-related */
"80000": "connection failed",
Expand Down

0 comments on commit de3d1a8

Please sign in to comment.