Use generator to generate exceptions from yaml
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
22
internal/exception/specific_gen.go
Normal file
22
internal/exception/specific_gen.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// Code generated by gen-exception; DO NOT EDIT.
|
||||
package exception
|
||||
|
||||
const (
|
||||
ApiVersionNotFound = "00001"
|
||||
AuthRefreshInvalidToken = "00001"
|
||||
AuthRefreshRenewFailed = "00002"
|
||||
AuthExchangeGetUserIdFailed = "00001"
|
||||
AuthExchangeCodeGenFailed = "00002"
|
||||
AuthExchangeInvalidRedirectUri = "00003"
|
||||
AuthRedirectClientNotFound = "00002"
|
||||
AuthRedirectUriMismatch = "00003"
|
||||
AuthRedirectInvalidUri = "00004"
|
||||
AuthRedirectTokenInvalid = "00001"
|
||||
AuthMagicCodeGenFailed = "00002"
|
||||
AuthMagicInvalidExternalUrl = "00003"
|
||||
AuthMagicInvalidEmailConfig = "00004"
|
||||
AuthMagicTurnstileFailed = "00001"
|
||||
AuthTokenInvalidToken = "00001"
|
||||
AuthTokenGenFailed = "00002"
|
||||
UserListMeilisearchFailed = "00001"
|
||||
)
|
||||
Reference in New Issue
Block a user