Use generator to generate exceptions from yaml

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-21 13:48:37 +08:00
parent e4329dfc2b
commit ac428946e7
40 changed files with 291 additions and 149 deletions

View File

@@ -0,0 +1,20 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
EndpointAuthServiceExchange = "05"
EndpointAuthServiceRedirect = "01"
EndpointAuthServiceMagic = "02"
EndpointAuthServiceToken = "03"
EndpointAuthServiceRefresh = "04"
EndpointEventServiceCheckinQuery = "03"
EndpointEventServiceCheckinSubmit = "04"
EndpointEventServiceInfo = "01"
EndpointEventServiceCheckin = "02"
EndpointUserServiceList = "03"
EndpointUserServiceFull = "04"
EndpointUserServiceCreate = "05"
EndpointUserServiceInfo = "01"
EndpointUserServiceUpdate = "02"
EndpointMiddlewareService = "01"
)