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,10 @@
common:
error:
invalid_input: "00001"
unauthorized: "00002"
internal: "00003"
permission_denied: "00004"
uuid_parse_failed: "00005"
database: "00006"
missing_user_id: "00007"
user_not_found: "00008"