userserviceerrors

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 ErrFailedCreateUser = errors.NewErrorResponse("Failed to create user", http.StatusInternalServerError)

ErrFailedCreateUser is returned when creating a user fails.

View Source
var ErrFailedDeleteAll = errors.NewErrorResponse("Failed to delete all users permanently", http.StatusInternalServerError)

ErrFailedDeleteAll is returned when permanently deleting all users fails.

View Source
var ErrFailedDeletePermanent = errors.NewErrorResponse("Failed to delete user permanently", http.StatusInternalServerError)

ErrFailedDeletePermanent is returned when permanently deleting a user fails.

View Source
var ErrFailedFindActive = errors.NewErrorResponse("Failed to fetch active users", http.StatusInternalServerError)

ErrFailedFindActive is returned when fetching active users fails.

View Source
var ErrFailedFindAll = errors.NewErrorResponse("Failed to fetch users", http.StatusInternalServerError)

ErrFailedFindAll is returned when fetching users fails.

View Source
var ErrFailedFindTrashed = errors.NewErrorResponse("Failed to fetch trashed users", http.StatusInternalServerError)

ErrFailedFindTrashed is returned when fetching trashed users fails.

View Source
var ErrFailedPasswordNoMatch = errors.NewErrorResponse("Failed password not match", http.StatusBadRequest)

ErrFailedPasswordNoMatch is returned when passwords do not match.

View Source
var ErrFailedRestoreAll = errors.NewErrorResponse("Failed to restore all users", http.StatusInternalServerError)

ErrFailedRestoreAll is returned when restoring all users fails.

View Source
var ErrFailedRestoreUser = errors.NewErrorResponse("Failed to restore user", http.StatusInternalServerError)

ErrFailedRestoreUser is returned when restoring a user fails.

View Source
var ErrFailedSendEmail = errors.NewErrorResponse("Failed to send email", http.StatusInternalServerError)

ErrFailedSendEmail is returned when sending an email fails.

View Source
var ErrFailedTrashedUser = errors.NewErrorResponse("Failed to move user to trash", http.StatusInternalServerError)

ErrFailedTrashedUser is returned when moving a user to trash fails.

View Source
var ErrFailedUpdateUser = errors.NewErrorResponse("Failed to update user", http.StatusInternalServerError)

ErrFailedUpdateUser is returned when updating a user fails.

View Source
var ErrInternalServerError = errors.NewErrorResponse("Internal server error", http.StatusInternalServerError)

ErrInternalServerError is a generic internal server error.

View Source
var ErrUserEmailAlready = errors.NewErrorResponse("User email already exists", http.StatusBadRequest)

ErrUserEmailAlready is returned when a user email already exists.

View Source
var ErrUserNotFoundRes = errors.NewErrorResponse("User not found", http.StatusNotFound)

ErrUserNotFoundRes is returned when a user is not found.

View Source
var ErrUserPassword = errors.NewErrorResponse("Failed invalid password", http.StatusBadRequest)

ErrUserPassword is returned when there is an invalid password.

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