Skip to content

Commit

Permalink
Generalise 'webhook' codes to 'reactor'; add 70003 max concurrency ex…
Browse files Browse the repository at this point in the history
…ceeded

removing the prevous 70003-5 as don't make sense as reactor error codes
  • Loading branch information
SimonWoolf committed Oct 4, 2017
1 parent 7f1775b commit 1c2d624
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 1c2d624

Please sign in to comment.