errors

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotInterfaceAlreadyCreated

type BotInterfaceAlreadyCreated struct {
}

BotInterfaceAlreadyCreated indicates that the bai is already created.

func (*BotInterfaceAlreadyCreated) Error

func (biac *BotInterfaceAlreadyCreated) Error() string

type ChatIdProblem

type ChatIdProblem struct {
}

ChatIdProblem indicates a problem in the chat id.

func (*ChatIdProblem) Error

func (cip *ChatIdProblem) Error() string

type LiveLocationNotStarted

type LiveLocationNotStarted struct {
}

LiveLocationNotStarted indicates that the live location has not been started yet.

func (*LiveLocationNotStarted) Error

func (llns *LiveLocationNotStarted) Error() string

type MediaGroupFullError

type MediaGroupFullError struct {
}

MediaGroupFullError indicates that the media group is full.

func (*MediaGroupFullError) Error

func (mgfe *MediaGroupFullError) Error() string

type MethodDeprecated

type MethodDeprecated struct {
	MethodName, Replacement string
}

func (*MethodDeprecated) Error

func (m *MethodDeprecated) Error() string

type MethodNotSentError

type MethodNotSentError struct {
	Method, Reason string
	FailureResult  *objs.FailureResult
}

MethodNotSentError is returned when API server responds with any code other than 200

func (*MethodNotSentError) Error

func (mnse *MethodNotSentError) Error() string

type RequiredArgumentError

type RequiredArgumentError struct {
	ArgName, MethodName string
}

RequiredArgumentError indicates that a required argument is missing or has a problem.

func (*RequiredArgumentError) Error

func (ram *RequiredArgumentError) Error() string

type UpdateNotOk

type UpdateNotOk struct {
	Offset int
}

UpdateNotOk indicates that server returned "ok : false" in response.

func (*UpdateNotOk) Error

func (uno *UpdateNotOk) Error() string

type UpdateRoutineAlreadyStarted

type UpdateRoutineAlreadyStarted struct {
}

UpdateRoutineAlreadyStarted indicates that the bot hase been started.

func (*UpdateRoutineAlreadyStarted) Error

func (uras *UpdateRoutineAlreadyStarted) Error() string

Jump to

Keyboard shortcuts

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