blob: 0c9c8ecb9471df91a28328c3cc0a1c6e2183c7ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# coding=utf-8
from enum import IntEnum
class ErrorCodes(IntEnum):
unknown_route = 0
unauthorized = 1
invalid_api_key = 2
missing_parameters = 3
OWNER_ROLE = 267627879762755584
ADMIN_ROLE = 267628507062992896
MODERATOR_ROLE = 267629731250176001
HELPER_ROLE = 267630620367257601
|