errors

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClientAlreadyRunning = errors.New("client is already running")
	ErrSessionUnauthorized  = errors.New("session is unauthorized")
)
View Source
var (
	ErrPeerNotFound     = errors.New("peer not found")
	ErrNotChat          = errors.New("not chat")
	ErrNotChannel       = errors.New("not channel")
	ErrNotUser          = errors.New("not user")
	ErrTextEmpty        = errors.New("text was not provided")
	ErrTextInvalid      = errors.New("type of text is invalid, provide one from string and []styling.StyledTextOption")
	ErrMessageNotExist  = errors.New("message not exist")
	ErrReplyNotMessage  = errors.New("reply header is not a message")
	ErrUnknownTypeMedia = errors.New("unknown type media")
)

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