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

32
exception/endpoints.go Normal file
View File

@@ -0,0 +1,32 @@
package exception
// Middleware Service Endpoints
const (
MiddlewareEndpoint = "01"
)
// Auth Service Endpoints
const (
AuthRedirectEndpoint = "01"
AuthMagicEndpoint = "02"
AuthTokenEndpoint = "03"
AuthRefreshEndpoint = "04"
AuthExchangeEndpoint = "05"
)
// Event Service Endpoints
const (
EventInfoEndpoint = "01"
EventCheckinEndpoint = "02"
EventCheckinQueryEndpoint = "03"
EventCheckinSubmitEndpoint = "04"
)
// User Service Endpoints
const (
UserInfoEndpoint = "01"
UserUpdateEndpoint = "02"
UserListEndpoint = "03"
UserFullEndpoint = "04"
UserCreateEndpoint = "05"
)