Add exception error manager

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-21 12:04:17 +08:00
parent 200614a5c9
commit 5dbbdc62e6
11 changed files with 157 additions and 12 deletions

16
exception/services.go Normal file
View File

@@ -0,0 +1,16 @@
package exception
// Middleware Services
const (
MiddlewareGinLoggerService = "901"
MiddlewareJwtService = "902"
MiddlewarePermissionService = "903"
MiddlewareApiVersionService = "904"
)
// Application Services
const (
AuthService = "001"
UserService = "002"
EventService = "003"
)