errors

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MsgNotFound      = "not found"
	MsgWrongPassword = "wrong password"

	MsgUserNotFound         = "user not found"
	MsgUserPasswordNotFound = "not found user password"
	MsgUserEmailNotFound    = "user with the given email is not found"

	MsgProductNotFound = "product not found"
	MsgPageNotFound    = "page not found"
	MsgSettingNotFound = "setting not found"
)

Variables

View Source
var (
	ErrNotFound      = errors.New(MsgNotFound)
	ErrWrongPassword = errors.New(MsgWrongPassword)

	ErrUserNotFound         = errors.New(MsgUserNotFound)
	ErrUserPasswordNotFound = errors.New(MsgUserPasswordNotFound)
	ErrUserEmailNotFound    = errors.New(MsgUserEmailNotFound)

	ErrProductNotFound = errors.New(MsgProductNotFound)
	ErrPageNotFound    = errors.New(MsgPageNotFound)
	ErrSettingNotFound = errors.New(MsgSettingNotFound)
)

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