mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-22 16:36:47 +08:00
Go: merge functions (#16622)
### Summary Merge HTTP response functions into common/response.go --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -47,6 +47,7 @@ const (
|
||||
CodeNotFound ErrorCode = 404
|
||||
CodeConflict ErrorCode = 409
|
||||
CodeServerError ErrorCode = 500
|
||||
CodeNotImplemented ErrorCode = 501
|
||||
)
|
||||
|
||||
var errorMessages = map[ErrorCode]string{
|
||||
|
||||
Reference in New Issue
Block a user