golang-lib/web/auth/error.go

16 lines
622 B
Go
Raw Normal View History

2021-06-01 10:51:35 +02:00
package auth
const (
2021-06-01 18:44:09 +02:00
// APIErrorUserNotFound api error string if user not found
APIErrorUserNotFound string = "user not found"
// APIErrorIncorrectPassword api error string if password is incorrect
2021-06-01 10:51:35 +02:00
APIErrorIncorrectPassword string = "incorrect password"
2021-06-01 18:44:09 +02:00
// APIErrorNoSession api error string if no session exists
APIErrorNoSession string = "no session"
// APIErrorCreateSession api error string if session could not created
APIErrorCreateSession string = "create session"
2021-06-01 10:51:35 +02:00
2021-06-01 18:44:09 +02:00
// APIErrroCreatePassword api error string if password could not created
2021-06-01 10:51:35 +02:00
APIErrroCreatePassword string = "error during create password"
)