runabot/RUNA/Enum.py

17 lines
215 B
Python
Raw Normal View History

from enum import Enum
class STATUS(Enum):
SUCCESS = 0
ERROR = 1
NOT_AVAILABLE = 2
NOT_FOUND = 3
NOT_AUTHORIZED = 4
NOT_ALLOWED = 5
def __str__(self):
return str(self.value)