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,9 @@
// Code generated by gen-exception; DO NOT EDIT.
package exception
const (
StatusClient = "6"
StatusSuccess = "2"
StatusUser = "4"
StatusServer = "5"
)