errorhandle

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Code

func Code(e int) (a int)

Code : code cut out when four-digit values

func ErrorLog

func ErrorLog(code int, content ...string) string

ErrorLog : error log handler

func SCode

func SCode(e int) (a int)

SCode : code cut out when five-digit values

Types

type MyError

type MyError struct {
	Error        string
	Message      string
	Code         int
	TimeStamp    time.Time
	ExecutorTime string
}

MyError struck

func (*MyError) Clock

func (e *MyError) Clock()

Clock : timer clock

func (*MyError) Messages

func (e *MyError) Messages()

Messages : register error to message

Jump to

Keyboard shortcuts

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