add comments

This commit is contained in:
MaysWind
2020-12-22 23:39:36 +08:00
parent e66f0c7f48
commit bb10498893
12 changed files with 41 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@ package errs
import "net/http"
// Error codes related to transaction categories
var (
ErrSystemError = NewSystemError(SYSTEM_SUBCATEGORY_DEFAULT, 0, http.StatusInternalServerError, "system error")
ErrApiNotFound = NewSystemError(SYSTEM_SUBCATEGORY_DEFAULT, 1, http.StatusNotFound, "api not found")