customerrors

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingName     = e.New("Missing Name")
	ErrMissingStart    = e.New("Missing Start")
	ErrMissingDuration = e.New("Missing Duration")
	ErrMissingId       = e.New("Missing Id")

	ErrStartWrongFormat = e.New("Start is in wrong format")
)
View Source
var ErrorCodes = map[int]string{
	10: "mongodb connection error",
}

Functions

func ErrorResponse

func ErrorResponse(s *discordgo.Session, i *discordgo.Interaction, message string, errorCode *string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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