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,8 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
ServiceUser = "002"
ServiceEvent = "003"
ServiceAuth = "001"
)