perf: 账号 资产 列表任务 (#9676)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-02-21 22:57:31 +08:00
committed by GitHub
parent 7f1cbc8336
commit d7946ccb6f
7 changed files with 34 additions and 12 deletions

View File

@@ -1,6 +1,12 @@
from django.utils.translation import ugettext_lazy as _
from rest_framework import status
from common.exceptions import JMSException
class NodeIsBeingUpdatedByOthers(JMSException):
status_code = status.HTTP_409_CONFLICT
class NotSupportedTemporarilyError(JMSException):
default_detail = _("This function is not supported temporarily")