mirror of https://github.com/veypi/OneAuth.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
506 B
Go
19 lines
506 B
Go
//
|
|
// errors.go
|
|
// Copyright (C) 2024 veypi <i@veypi.com>
|
|
// 2024-08-01 15:40
|
|
// Distributed under terms of the MIT license.
|
|
//
|
|
|
|
package errs
|
|
|
|
import "github.com/veypi/OneBD/rest"
|
|
|
|
var (
|
|
AuthNotFound = rest.NewError("auth not found").WithCode(40100)
|
|
AuthFailed = rest.NewError("auth failed").WithCode(40101)
|
|
AuthExpired = rest.NewError("auth expired").WithCode(40102)
|
|
AuthInvalid = rest.NewError("auth invalid").WithCode(40103)
|
|
AuthNoPerm = rest.NewError("auth no permission").WithCode(40104)
|
|
)
|