errors

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: GPL-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")

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

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