refreshtokenserviceerrors

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 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 ErrFailedCreateAccess = errors.NewErrorResponse("Failed to create access token", http.StatusInternalServerError)

ErrFailedCreateAccess is returned when the creation of an access token fails.

View Source
var ErrFailedCreateRefresh = errors.NewErrorResponse("Failed to create refresh token", http.StatusInternalServerError)

ErrFailedCreateRefresh is returned when the creation of a refresh token fails.

View Source
var ErrFailedCreateRefreshToken = errors.NewErrorResponse("Failed to create refresh token", http.StatusInternalServerError)

ErrFailedCreateRefreshToken is returned when refresh token creation fails.

View Source
var ErrFailedDeleteByUserID = errors.NewErrorResponse("Failed to delete refresh token by user ID", http.StatusInternalServerError)

ErrFailedDeleteByUserID is returned when deletion of a refresh token by user ID fails.

View Source
var ErrFailedDeleteRefreshToken = errors.NewErrorResponse("Failed to delete refresh token", http.StatusInternalServerError)

ErrFailedDeleteRefreshToken is returned when refresh token deletion fails.

View Source
var ErrFailedExpire = errors.NewErrorResponse("Failed to find refresh token by token", http.StatusInternalServerError)

ErrFailedExpire occurs when expiring a refresh token fails.

View Source
var ErrFailedFindByToken = errors.NewErrorResponse("Failed to find refresh token by token", http.StatusInternalServerError)

ErrFailedFindByToken indicates failure when searching for a refresh token by its token value.

View Source
var ErrFailedFindByUserID = errors.NewErrorResponse("Failed to find refresh token by user ID", http.StatusInternalServerError)

ErrFailedFindByUserID indicates failure when searching for a refresh token by user ID.

View Source
var ErrFailedInvalidToken = errors.NewErrorResponse("Failed to invalid access token", http.StatusInternalServerError)

ErrFailedInValidToken is returned when an access token is invalid.

View Source
var ErrFailedInvalidUserId = errors.NewErrorResponse("Failed to invalid user id", http.StatusInternalServerError)

ErrFailedInValidUserId is returned when a user ID is invalid.

View Source
var ErrFailedParseExpirationDate = errors.NewErrorResponse("Failed to parse expiration date", http.StatusBadRequest)

ErrFailedParseExpirationDate indicates failure when parsing the expiration date of a token.

View Source
var ErrFailedUpdateRefreshToken = errors.NewErrorResponse("Failed to update refresh token", http.StatusInternalServerError)

ErrFailedUpdateRefreshToken is returned when refresh token update fails.

View Source
var ErrRefreshTokenNotFound = errors.NewErrorResponse("Refresh token not found", http.StatusNotFound)

ErrRefreshTokenNotFound indicates that the refresh token was not found.

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