apierrors

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 2 Imported by: ? 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 (
	// ErrRoleNotFound is an error when the role can not be found in mongoDB
	ErrRoleNotFound           = errors.New("role not found")
	ErrInvalidPositiveInteger = errors.New("value is not a positive integer")
	ErrLimitAndOffset         = errors.New("offset and limit must be positive or zero")
	ErrPolicyNotFound         = errors.New("policy not found")
	ErrPolicyAlreadyExists    = errors.New("policy with given id already exists")
)

A list of error messages for Permissions API

Functions

func ErrorMaximumLimitReached added in v0.4.0

func ErrorMaximumLimitReached(m int) error

ErrorMaximumLimitReached creates a unique error

Types

This section is empty.

Jump to

Keyboard shortcuts

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