errs

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilBot           = errors.New("bot is nil")
	ErrArtworkDeleted   = errors.New("artwork deleted")
	ErrNoPhotoInMessage = errors.New("message has no photo")
	ErrFileTooLarge     = errors.New("file too large (>20MB)")
	ErrNoAvailableFile  = errors.New("no available file")

	ErrNilArtwork           = errors.New("artwork is nil")
	ErrNotFoundArtworks     = errors.New("artworks not found")
	ErrArtworkAlreadyExist  = errors.New("artwork already exists")
	ErrSourceNotSupported   = errors.New("source not supported")
	ErrIndexOOB             = errors.New("index out of bounds")
	ErrFailedToFetchArtwork = errors.New("failed to fetch artwork")

	ErrStorageUnkown = errors.New("unknown storage")

	ErrNotFoundArtwork = errors.New("artwork not found")
	ErrNotFoundUser    = errors.New("user not found")

	ErrLikeExists = errors.New("like exists")

	ErrSettingsNil = errors.New("settings is nil")
	ErrSettingsKey = errors.New("settings key not found")

	ErrChatIDNotSet = errors.New("chat id not set")

	ErrAliasAlreadyUsed = errors.New("alias already used")

	ErrNotEnabledHybridSearch = errors.New("hybrid search not enabled")
)

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