Feat: optimize error desc (#152)

This commit is contained in:
John Wang
2023-05-22 17:39:28 +08:00
committed by GitHub
parent a7c40a07d8
commit 9a5ae9f51f
15 changed files with 119 additions and 55 deletions

View File

@@ -16,5 +16,5 @@ class DocumentIndexingError(BaseHTTPException):
class DatasetNotInitedError(BaseHTTPException):
error_code = 'dataset_not_inited'
description = "Dataset not inited."
description = "The dataset is still being initialized or indexing. Please wait a moment."
code = 403