Commit graph

28 commits

Author SHA1 Message Date
Nick
2762a1e1c6
Added some story error
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:46 +07:00
Albert Einstein
42758e8c54
Add USERNAME_PURCHASE_AVAILABLE to known errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:45 +07:00
Nick
e7603fc0be
Added some missing errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-22 16:07:45 +07:00
wulan17
d9ac3cf355
PyroFork: add TOPIC_CLOSED and TOPIC_DELETED to known errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-07-04 11:23:20 +07:00
Dan
c484e82810
Sort the lists of known errors 2023-01-11 21:43:31 +07:00
Mahesh
30822dabff
Add BUTTON_USER_PRIVACY_RESTRICTED to the list of known errors (#1193)
* Add BUTTON_USER_PRIVACY_RESTRICTED to known errors

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2023-01-11 21:43:31 +07:00
Dan
3a88297a9a
Add INVITE_REQUEST_SENT to known errors 2023-01-11 21:43:31 +07:00
Nick
231f1a1620
Add BOT_ONESIDE_NOT_AVAIL to known errors (#1073)
* `BOT_ONESIDE_NOT_AVAIL`

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2023-01-11 21:43:17 +07:00
KyMaP13
b0ac808f2e
Add VOICE_MESSAGES_FORBIDDEN (#1151)
* add VOICE_MESSAGES_FORBIDDEN

* Update 400_BAD_REQUEST.tsv

Co-authored-by: onefedov <onefedov@yandex-team.ru>
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2023-01-01 23:11:07 +07:00
AsmSafone
0505ff0d5e
Add some sticker-related errors (#1055)
* Add STICKERS_TOO_MUCH, STICKERSET_NOT_MODIFIED, STICKER_VIDEO_NOWEBM error description

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-08-11 13:56:21 +02:00
Dan
70e73d3ca8 Add ENTITY_BOUNDS_INVALID error description 2022-07-14 21:01:07 +02:00
Dan
0e0642ebfd Add [403 PREMIUM_ACCOUNT_REQUIRED] error
Closes #1024
2022-06-21 12:12:08 +02:00
Dan
97a4ddea27 Update error messages 2022-05-06 21:57:33 +02:00
Dan
124bcb4db7 Remove API key requirement for existing sessions 2022-04-24 11:56:07 +02:00
Sam
54f8ca25fb
Add 400 CHANNEL_ADD_INVALID error (#894)
* Add RPC Error: CHANNEL_ADD_INVALID

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-02-13 11:37:43 +01:00
Gor
d9d7a867b5
Add 406 CHANNEL_PRIVATE error (#899) 2022-02-13 11:37:14 +01:00
Dan
aaaa97c77a Document ApiCallError RPC error 2022-01-31 21:28:51 +01:00
Dan
8c8288412f Various improvements 2022-01-07 10:18:51 +01:00
Dan
46d3d8aaf6 Update REACTION_INVALID error message 2021-12-30 13:39:58 +01:00
David Hu
419ecb1af5
Add RPC Error: CHAT_FORWARDS_RESTRICTED (#825)
* Add RPC Error: CHAT_FORWARD_RESTRICTED

* Fix the typo in the previous commit

Sorry, made a typo in the error name

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2021-12-20 20:40:32 +01:00
Dan
aef0cce8d9 Add more RPC errors 2021-05-14 17:31:36 +02:00
Dan
b6f97ee924 Add support for signed error codes 2021-04-12 09:19:50 +02:00
Dan
4f16c174a3 Add one more 5xx error 2021-03-14 12:39:17 +01:00
Dan
4afedd7ba6 Update errors list 2021-03-14 12:37:13 +01:00
Dan
d28db96128 Add new errors 2021-01-03 20:56:47 +01:00
Dan
8f71527bbd Update errors 2020-12-02 17:00:42 +01:00
Dan
a2d7da1f59
Fix Illegal quoting 2020-11-24 16:11:13 +01:00
Dan
1b42fb7f77 Rename "error" package to "errors" 2020-11-13 17:59:41 +01:00