apierrors

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 2 Imported by: 0

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")
)

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