E

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknownErrCode = 500
	NormalErrCode  = 400
)

Variables

This section is empty.

Functions

func PanicErr

func PanicErr(err error)

Types

type ApplicationError

type ApplicationError struct {
	Err  error
	Code int16
}

func Message

func Message(message string) *ApplicationError

func (*ApplicationError) Error

func (e *ApplicationError) Error() string

Jump to

Keyboard shortcuts

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