Skip to content

Commit

Permalink
chore: add 499 error for client closed connections
Browse files Browse the repository at this point in the history
  • Loading branch information
ssepml committed Oct 16, 2024
1 parent dc7a838 commit a700679
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions api-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,10 @@
"short_message": "Unavailable For Legal Reasons",
"long_message": "Unavailable For Legal Reasons"
},
"49900": {
"short_message": "Client Closed Request",
"long_message": "Client Closed Request"
},
"50000": {
"short_message": "Internal Server Error",
"long_message": "The server encountered an unexpected condition which prevented it from fulfilling the request"
Expand Down
6 changes: 3 additions & 3 deletions linter/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def __str__(self) -> str:
406, 407, 408, 409, 410, 411,
412, 413, 414, 415, 416, 417,
418, 421, 422, 423, 424, 425,
426, 428, 429, 431, 451, 500,
501, 502, 503, 504, 505, 506,
507, 508, 510, 511
426, 428, 429, 431, 451, 499,
500, 501, 502, 503, 504, 505,
506, 507, 508, 510, 511
]


Expand Down

0 comments on commit a700679

Please sign in to comment.