error

package
v0.0.0-...-d77435e Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUserNotFound    = errors.New("user not found")
	ErrUserInvalidBody = errors.New("invalid user body")
)

Functions

func NewInvalidUserBody

func NewInvalidUserBody(err error) error

func NewNotFound

func NewNotFound(id int64) error

func ToEchoHTTPError

func ToEchoHTTPError(err error) error

Types

type Type

type Type string
const NotFound Type = "not_found"

Jump to

Keyboard shortcuts

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