dberr

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DataNotFound = errors.New("data not found")

Functions

func CheckEntityNameNonEmpty

func CheckEntityNameNonEmpty(entity string) error

func CheckIDNonEmpty

func CheckIDNonEmpty(id any) error

func CheckIdOrFilterNonEmpty

func CheckIdOrFilterNonEmpty(id any, filter interface{}) error

Types

type RequirementMissing

type RequirementMissing struct {
	Message string
}

func NewRequirementMissing

func NewRequirementMissing(msg string) RequirementMissing

func (RequirementMissing) Error

func (e RequirementMissing) Error() string

Jump to

Keyboard shortcuts

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