Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrFailedCreateRole = response.NewErrorResponse("Failed to create Role", http.StatusInternalServerError)
ErrFailedCreateRole is returned when there is a failure in creating a role.
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.
var ErrFailedDeletePermanent = response.NewErrorResponse("Failed to delete Role permanently", http.StatusInternalServerError)
ErrFailedDeletePermanent is returned when there is a failure in permanently deleting a role.
var ErrFailedFindActive = response.NewErrorResponse("Failed to fetch active Roles", http.StatusInternalServerError)
ErrFailedFindActive is returned when there is a failure in fetching active roles.
var ErrFailedFindAll = response.NewErrorResponse("Failed to fetch Roles", http.StatusInternalServerError)
ErrFailedFindAll is returned when there is a failure in fetching all roles.
var ErrFailedFindTrashed = response.NewErrorResponse("Failed to fetch trashed Roles", http.StatusInternalServerError)
ErrFailedFindTrashed is returned when there is a failure in fetching trashed roles.
var ErrFailedRestoreAll = response.NewErrorResponse("Failed to restore all Roles", http.StatusInternalServerError)
ErrFailedRestoreAll is returned when there is a failure in restoring all trashed roles.
var ErrFailedRestoreRole = response.NewErrorResponse("Failed to restore Role", http.StatusInternalServerError)
ErrFailedRestoreRole is returned when there is a failure in restoring a trashed role.
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.
var ErrFailedUpdateRole = response.NewErrorResponse("Failed to update Role", http.StatusInternalServerError)
ErrFailedUpdateRole is returned when there is a failure in updating a role.
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.