roleserviceerrors

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFailedCreateRole = response.NewErrorResponse("Failed to create Role", http.StatusInternalServerError)

ErrFailedCreateRole is returned when there is a failure in creating a role.

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

ErrFailedDeleteAll is returned when there is a failure in permanently deleting all roles.

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

ErrFailedDeletePermanent is returned when there is a failure in permanently deleting a role.

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

ErrFailedFindActive is returned when there is a failure in fetching active roles.

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

ErrFailedFindAll is returned when there is a failure in fetching all roles.

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

ErrFailedFindTrashed is returned when there is a failure in fetching trashed roles.

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

ErrFailedRestoreAll is returned when there is a failure in restoring all trashed roles.

View Source
var ErrFailedRestoreRole = response.NewErrorResponse("Failed to restore Role", http.StatusInternalServerError)

ErrFailedRestoreRole is returned when there is a failure in restoring a trashed role.

View Source
var ErrFailedTrashedRole = response.NewErrorResponse("Failed to move Role to trash", http.StatusInternalServerError)

ErrFailedTrashedRole is returned when there is a failure in moving a role to trash.

View Source
var ErrFailedUpdateRole = response.NewErrorResponse("Failed to update Role", http.StatusInternalServerError)

ErrFailedUpdateRole is returned when there is a failure in updating a role.

View Source
var ErrRoleNotFoundRes = response.NewErrorResponse("Role not found", http.StatusNotFound)

ErrRoleNotFoundRes is returned when the requested role is 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