Use generator to generate exceptions from yaml
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
13
internal/exception/common_gen.go
Normal file
13
internal/exception/common_gen.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Code generated by gen-exception; DO NOT EDIT.
|
||||
package exception
|
||||
|
||||
const (
|
||||
CommonErrorInvalidInput = "00001"
|
||||
CommonErrorUnauthorized = "00002"
|
||||
CommonErrorInternal = "00003"
|
||||
CommonErrorPermissionDenied = "00004"
|
||||
CommonErrorUuidParseFailed = "00005"
|
||||
CommonErrorDatabase = "00006"
|
||||
CommonErrorMissingUserId = "00007"
|
||||
CommonErrorUserNotFound = "00008"
|
||||
)
|
||||
Reference in New Issue
Block a user