dataErr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProfilForUserNotFoundError = &CustomError{"profil for user not found", echo.ErrNotFound.Code}
	WrongAuthDataError         = &CustomError{"wrong auth data", echo.ErrUnauthorized.Code}
	UnknownError               = &CustomError{"unknown error", echo.ErrInternalServerError.Code}
)

Functions

This section is empty.

Types

type CustomError

type CustomError struct {
	Msg      string
	HttpCode int
}

func (*CustomError) Error

func (m *CustomError) Error() string

Jump to

Keyboard shortcuts

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