-
Notifications
You must be signed in to change notification settings - Fork 1
/
errors_map.go
57 lines (54 loc) · 2.82 KB
/
errors_map.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package telebot
var ErrMap map[uint32]*Error = map[uint32]*Error{
hash32(ErrTooLarge): ErrTooLarge,
hash32(ErrUnauthorized): ErrUnauthorized,
hash32(ErrNotFound): ErrNotFound,
hash32(ErrInternal): ErrInternal,
hash32(ErrBadButtonData): ErrBadButtonData,
hash32(ErrBadPollOptions): ErrBadPollOptions,
hash32(ErrBadURLContent): ErrBadURLContent,
hash32(ErrCantEditMessage): ErrCantEditMessage,
hash32(ErrCantRemoveOwner): ErrCantRemoveOwner,
hash32(ErrCantUploadFile): ErrCantUploadFile,
hash32(ErrCantUseMediaInAlbum): ErrCantUseMediaInAlbum,
hash32(ErrChatAboutNotModified): ErrChatAboutNotModified,
hash32(ErrChatNotFound): ErrChatNotFound,
hash32(ErrEmptyChatID): ErrEmptyChatID,
hash32(ErrEmptyMessage): ErrEmptyMessage,
hash32(ErrEmptyText): ErrEmptyText,
hash32(ErrFailedImageProcess): ErrFailedImageProcess,
hash32(ErrGroupMigrated): ErrGroupMigrated,
hash32(ErrMessageNotModified): ErrMessageNotModified,
hash32(ErrNoRightsToDelete): ErrNoRightsToDelete,
hash32(ErrNoRightsToRestrict): ErrNoRightsToRestrict,
hash32(ErrNoRightsToSend): ErrNoRightsToSend,
hash32(ErrNoRightsToSendGifs): ErrNoRightsToSendGifs,
hash32(ErrNoRightsToSendPhoto): ErrNoRightsToSendPhoto,
hash32(ErrNoRightsToSendStickers): ErrNoRightsToSendStickers,
hash32(ErrNotFoundToDelete): ErrNotFoundToDelete,
hash32(ErrNotFoundToForward): ErrNotFoundToForward,
hash32(ErrNotFoundToReply): ErrNotFoundToReply,
hash32(ErrQueryTooOld): ErrQueryTooOld,
hash32(ErrSameMessageContent): ErrSameMessageContent,
hash32(ErrStickerEmojisInvalid): ErrStickerEmojisInvalid,
hash32(ErrStickerSetInvalid): ErrStickerSetInvalid,
hash32(ErrStickerSetInvalidName): ErrStickerSetInvalidName,
hash32(ErrStickerSetNameOccupied): ErrStickerSetNameOccupied,
hash32(ErrTooLongMarkup): ErrTooLongMarkup,
hash32(ErrTooLongMessage): ErrTooLongMessage,
hash32(ErrUserIsAdmin): ErrUserIsAdmin,
hash32(ErrWrongFileID): ErrWrongFileID,
hash32(ErrWrongFileIDCharacter): ErrWrongFileIDCharacter,
hash32(ErrWrongFileIDLength): ErrWrongFileIDLength,
hash32(ErrWrongFileIDPadding): ErrWrongFileIDPadding,
hash32(ErrWrongFileIDSymbol): ErrWrongFileIDSymbol,
hash32(ErrWrongTypeOfContent): ErrWrongTypeOfContent,
hash32(ErrWrongURL): ErrWrongURL,
hash32(ErrForwardMessage): ErrForwardMessage,
hash32(ErrBlockedByUser): ErrBlockedByUser,
hash32(ErrKickedFromGroup): ErrKickedFromGroup,
hash32(ErrKickedFromSuperGroup): ErrKickedFromSuperGroup,
hash32(ErrKickedFromChannel): ErrKickedFromChannel,
hash32(ErrNotStartedByUser): ErrNotStartedByUser,
hash32(ErrUserIsDeactivated): ErrUserIsDeactivated,
}