errors

package
v0.0.0-...-ded2988 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RespondToError

func RespondToError(err error, botService *tgbotapi.BotAPI, chatService chat.Info)

Types

type ValidationError

type ValidationError struct {
	Type string
	// contains filtered or unexported fields
}

func NewValidationError

func NewValidationError(message string, placeHolder ...interface{}) ValidationError

func (ValidationError) Error

func (v ValidationError) Error() string

Jump to

Keyboard shortcuts

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