exceptions

package
v0.0.0-...-e75eb70 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Err

func Err(tag string, content ...interface{}) (err error)

func ErrArray

func ErrArray(arr *ErrType)

func ErrPanic

func ErrPanic(err error)

func ErrPosition

func ErrPosition() interface{}

func LogArray

func LogArray(arr *ErrType)

func LogErr

func LogErr(tag string, content ...interface{})

func PoTCombine

func PoTCombine()

func TxTErr

func TxTErr(tag string, content ...interface{}) (str string)

Types

type ErrMsg

type ErrMsg map[string]interface{}

type ErrType

type ErrType map[string]bool

type Exceptions

type Exceptions struct {
}

func NewExceptions

func NewExceptions() *Exceptions

func (*Exceptions) NoMethod

func (exp *Exceptions) NoMethod(ctx *gin.Context)

func (*Exceptions) NoRoute

func (exp *Exceptions) NoRoute(ctx *gin.Context)

type LogMsg

type LogMsg map[string]interface{}

type PoT

type PoT struct {
	ErrMsg *ErrMsg
	TxTMsg *TxTMsg
	LogMsg *LogMsg
}
var (
	EPoT *PoT
)

type TxTMsg

type TxTMsg map[string]interface{}

Jump to

Keyboard shortcuts

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