stackerr

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StackErr

type StackErr struct {
	Filename   string
	Line       int
	Message    string //标准输出报错信息
	StackTrace string
	Code       int    //错误码
	Info       string //错误详情
	Position   string
	Level      int //0最高优先级 1-4 普通优先级 5 可不关注的异常
}

func (*StackErr) Detail

func (this *StackErr) Detail() string

func (*StackErr) Error

func (this *StackErr) Error() string

func (*StackErr) ErrorInfo

func (this *StackErr) ErrorInfo() string

func (*StackErr) Format

func (this *StackErr) Format(tag ...string) (data string)

func (*StackErr) GetLevel

func (this *StackErr) GetLevel() int

func (*StackErr) SetLevel

func (this *StackErr) SetLevel(lvl int)

func (*StackErr) Stack

func (this *StackErr) Stack() string

Jump to

Keyboard shortcuts

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