refreshtokenrepositoryerrors

package
v1.0.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrCreateRefreshToken indicates that an error occurred while creating a new refresh token.
	ErrCreateRefreshToken = errors.ErrInternal.WithMessage("Failed to create refresh token")

	// ErrUpdateRefreshToken is returned when the refresh token update process fails.
	ErrUpdateRefreshToken = errors.ErrInternal.WithMessage("Failed to update refresh token")

	// ErrDeleteRefreshToken is returned when deleting a refresh token fails.
	ErrDeleteRefreshToken = errors.ErrInternal.WithMessage("Failed to delete refresh token")

	// ErrDeleteByUserID indicates a failure when attempting to delete a refresh token using the user ID.
	ErrDeleteByUserID = errors.ErrInternal.WithMessage("Failed to delete refresh token by user ID")
)
View Source
var (
	// ErrTokenNotFound indicates that the refresh token could not be found.
	ErrTokenNotFound = errors.ErrNotFound.WithMessage("Refresh token not found")

	// ErrFindByToken is returned when a lookup for the refresh token by token value fails.
	ErrFindByToken = errors.ErrInternal.WithMessage("Failed to find refresh token by token")

	// ErrFindByUserID is returned when a lookup for the refresh token by user ID fails.
	ErrFindByUserID = errors.ErrInternal.WithMessage("Failed to find refresh token by user ID")
)
View Source
var ErrParseDate = errors.New("failed to parse expiration date")

ErrParseDate is returned when parsing the expiration date of a token fails.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL