gerr

package
v0.33.19 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: AGPL-3.0, AGPL-3.0-only Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCharacterNotFound = errgo.MsgNoTrace(ErrNotFound, "character not found")
View Source
var ErrEpisodeNotFound = errgo.MsgNoTrace(ErrNotFound, "episode not found")
View Source
var ErrExists = errors.New("item already exists")
View Source
var ErrInput = errors.New("input not valid")
View Source
var ErrInvalidData = errors.New("invalid data")
View Source
var ErrInvisibleChar = errors.New("input contains invisible chars")
View Source
var ErrNotFound = errors.New("can't find item")

ErrNotFound should be returned when a repo or service can't find an authorization.

View Source
var ErrPersonNotFound = errgo.MsgNoTrace(ErrNotFound, "person not found")
View Source
var ErrSubjectNotCollected = errgo.MsgNoTrace(ErrNotFound, "subject is not collected by user")
View Source
var ErrSubjectNotFound = errgo.MsgNoTrace(ErrNotFound, "subject not found")
View Source
var ErrUserNotFound = errgo.MsgNoTrace(ErrNotFound, "user not found")

Functions

func WrapGormError

func WrapGormError(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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