rolerepositoryerrors

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCreateRole = errors.New("failed to create Role")

ErrCreateRole is returned when creating a new Role fails.

View Source
var ErrDeleteAllRoles = errors.New("failed to permanently delete all Roles")

ErrDeleteAllRoles is returned when permanently deleting all Roles fails.

View Source
var ErrDeleteRolePermanent = errors.New("failed to permanently delete Role")

ErrDeleteRolePermanent is returned when permanently deleting a Role fails.

View Source
var ErrFindActiveRoles = errors.New("failed to find active Roles")

ErrFindActiveRoles is returned when retrieving all active Roles fails.

View Source
var ErrFindAllRoles = errors.New("failed to find all Roles")

ErrFindAllRoles is returned when retrieving all Roles from the database fails.

View Source
var ErrFindTrashedRoles = errors.New("failed to find trashed Roles")

ErrFindTrashedRoles is returned when retrieving trashed (soft-deleted) Roles fails.

View Source
var ErrRestoreAllRoles = errors.New("failed to restore all Roles")

ErrRestoreAllRoles is returned when restoring all trashed Roles fails.

View Source
var ErrRestoreRole = errors.New("failed to restore Role from trash")

ErrRestoreRole is returned when restoring a trashed Role fails.

View Source
var ErrRoleConflict = errors.New("failed Role already exists")

ErrRoleConflict indicates a conflict where a Role already exists.

View Source
var ErrRoleNotFound = errors.New("role not found")

ErrRoleNotFound indicates that the requested Role was not found in the database.

View Source
var ErrTrashedRole = errors.New("failed to move Role to trash")

ErrTrashedRole is returned when moving a Role to trash (soft-delete) fails.

View Source
var ErrUpdateRole = errors.New("failed to update Role")

ErrUpdateRole is returned when updating an existing Role fails.

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