handler

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorCaller

func ErrorCaller() (string, string)

记录错误调用者信息

Types

type ExceptionError

type ExceptionError struct {
	Code      int    `json:"code"`
	ErrorMsg  string `json:"message"`
	ErrorPath string `json:"error_path"`
	Function  string `json:"function"`
}

func (*ExceptionError) Error

func (e *ExceptionError) Error() string

实现error接口

Jump to

Keyboard shortcuts

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