Use generator to generate exceptions from yaml
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
9
internal/exception/status_gen.go
Normal file
9
internal/exception/status_gen.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Code generated by gen-exception; DO NOT EDIT.
|
||||
package exception
|
||||
|
||||
const (
|
||||
StatusClient = "6"
|
||||
StatusSuccess = "2"
|
||||
StatusUser = "4"
|
||||
StatusServer = "5"
|
||||
)
|
||||
Reference in New Issue
Block a user