18 lines
285 B
Python
18 lines
285 B
Python
from enum import Enum
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class ModuleName(str, Enum):
|
|
BACKEND = "backend"
|
|
AGENT = "agent"
|
|
RAG = "rag"
|
|
CONFLUENCE = "confluence"
|
|
FRONTEND = "frontend"
|
|
|
|
|
|
class ErrorPayload(BaseModel):
|
|
code: str
|
|
desc: str
|
|
module: ModuleName
|