rolerepositoryerrors

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 1 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 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