You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

HttpExceptionEnum.py 222B

123456789
  1. from enum import Enum, unique
  2. @unique
  3. class StreamExceptionType(Enum):
  4. TASK_IS_EXECUTING = (-1, "推流任务正在执行, 请稍后再试!")
  5. TASK_NOT_EXISTS = (-1, "推流任务停止失败, 任务不存在!")