userapierrors

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 3 Imported by: 0 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 ErrApiBindCreateUser = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "bind failed: invalid create User request", http.StatusBadRequest)
}

ErrApiBindCreateUser is an error response for bind failure: invalid create user request.

View Source
var ErrApiBindUpdateUser = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "bind failed: invalid update User request", http.StatusBadRequest)
}

ErrApiBindUpdateUser is an error response for bind failure: invalid update user request.

View Source
var ErrApiFailedCreateUser = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to create User", http.StatusInternalServerError)
}

ErrApiFailedCreateUser is an error response for failing to create a user.

View Source
var ErrApiFailedDeleteAll = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to delete all Users permanently", http.StatusInternalServerError)
}

ErrApiFailedDeleteAll is an error response for failed to permanently delete all users.

View Source
var ErrApiFailedDeletePermanent = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to delete User permanently", http.StatusInternalServerError)
}

ErrApiFailedDeletePermanent is an error response for failed to delete user permanently.

View Source
var ErrApiFailedFindActive = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to fetch active Users", http.StatusInternalServerError)
}

ErrApiFailedFindActive is an error response for failing to fetch active users.

View Source
var ErrApiFailedFindAll = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to fetch Users", http.StatusInternalServerError)
}

ErrApiFailedFindAll is an error response for failing to fetch all users.

View Source
var ErrApiFailedFindTrashed = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to fetch trashed Users", http.StatusInternalServerError)
}

ErrApiFailedFindTrashed is an error response for failing to fetch trashed users.

View Source
var ErrApiFailedRestoreAll = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to restore all Users", http.StatusInternalServerError)
}

ErrApiFailedRestoreAll is an error response for failed to restore all users.

View Source
var ErrApiFailedRestoreUser = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to restore User", http.StatusInternalServerError)
}

ErrApiFailedRestoreUser is an error response for failed to restore user.

View Source
var ErrApiFailedTrashedUser = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to move User to trash", http.StatusInternalServerError)
}

ErrApiFailedTrashedUser is an error response for failed to move user to trash.

View Source
var ErrApiFailedUpdateUser = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "failed to update User", http.StatusInternalServerError)
}

ErrApiFailedUpdateUser is an error response for failing to update a user.

View Source
var ErrApiUserInvalidId = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "invalid User id", http.StatusNotFound)
}

ErrApiUserInvalidId is an error response for an invalid user ID.

View Source
var ErrApiUserNotFound = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "User not found", http.StatusNotFound)
}

ErrApiUserNotFound is an error response for when the user is not found.

View Source
var ErrApiValidateCreateUser = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "validation failed: invalid create User request", http.StatusBadRequest)
}

ErrApiValidateCreateUser is an error response for validation failure in creating a user.

View Source
var ErrApiValidateUpdateUser = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "validation failed: invalid update User request", http.StatusBadRequest)
}

ErrApiValidateUpdateUser is an error response for validation failure in updating a user.

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