13 lines
307 B
Go
13 lines
307 B
Go
package auth
|
|
|
|
import "errors"
|
|
|
|
var New = errors.New
|
|
|
|
var (
|
|
ErrInvalidAccessToken = errors.New("invalid access token")
|
|
ErrInvalidRefreshToken = errors.New("invalid refresh token")
|
|
ErrExpiredAccessToken = errors.New("expired access token")
|
|
ErrExpiredRefreshToken = errors.New("expired refresh token")
|
|
)
|