user_role_errors/

directory
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2025 License: MIT

README

📦 Package userrole_errors

Source Path: shared/errors/user_role_errors

🏷️ Variables

Var:

ErrAssignRoleToUser is an error that is returned from the repository layer when an error occurs while trying to assign a role to the user.

var ErrAssignRoleToUser = errors.New("failed to assign role to user")

Var:

ErrFailedAssignRoleToUser is an error that is returned from the service layer when an error occurs while trying to assign a role to the user.

var ErrFailedAssignRoleToUser = response.NewErrorResponse("Failed to assign role to user", http.StatusInternalServerError)

Var:

ErrFailedRemoveRole is an error that is returned from the service layer when an error occurs while trying to remove a role from the user.

var ErrFailedRemoveRole = response.NewErrorResponse("Failed to remove role from user", http.StatusInternalServerError)

Var:

ErrRemoveRole is an error that is returned from the repository layer when an error occurs while trying to remove a role from the user.

var ErrRemoveRole = errors.New("failed to remove role from user")

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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