Skip to content

Commit

Permalink
TgBotException: Add http 409 code
Browse files Browse the repository at this point in the history
  • Loading branch information
Royna2544 committed Oct 15, 2024
1 parent cfef920 commit 93a5234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tgbot/TgException.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class TGBOT_API TgException : public std::runtime_error {
Undefined = 0,
BadRequest = 400, Unauthorized = 401,
Forbidden = 403, NotFound = 404,
Flood = 402, Internal = 500,
Flood = 402, Conflict = 409, Internal = 500,
HtmlResponse = 100, InvalidJson = 101
};

Expand Down

0 comments on commit 93a5234

Please sign in to comment.