You've already forked hotpocket
BTHLABS-61: Service layer refactoring
A journey to fix `ValidationError` in Pocket imports turned service layer refactoring :D
This commit is contained in:
11
services/packages/soa/hotpocket_soa/constants.py
Normal file
11
services/packages/soa/hotpocket_soa/constants.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import annotations
|
||||
|
||||
import enum
|
||||
|
||||
|
||||
class BackendServiceErrorCode(enum.Enum):
|
||||
INTERNAL = -32000
|
||||
NOT_FOUND = -32001
|
||||
ACCESS_DENIED = -32002
|
||||
INVALID = -32003
|
||||
Reference in New Issue
Block a user