error.go 307 B

123456789101112
  1. package auth
  2. import "errors"
  3. var New = errors.New
  4. var (
  5. ErrInvalidAccessToken = errors.New("invalid access token")
  6. ErrInvalidRefreshToken = errors.New("invalid refresh token")
  7. ErrExpiredAccessToken = errors.New("expired access token")
  8. ErrExpiredRefreshToken = errors.New("expired refresh token")
  9. )