handleerror

package
v0.0.0-...-7253f33 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("未找到数据")
)

Functions

func GormError

func GormError(err error) string

func HandleError

func HandleError(c *gin.Context, err error) bool

func JsonError

func JsonError(c *gin.Context, msg interface{})

func WsHandleError

func WsHandleError(ws *websocket.Conn, err error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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