errors

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AniError

type AniError struct {
	Data interface{}
	Msg  string
	File string //file
	Func string //func
	Line int
}

func NewAniError

func NewAniError(msg string) *AniError

func NewAniErrorD

func NewAniErrorD(data interface{}) *AniError

func NewAniErrorSkip

func NewAniErrorSkip(skip int, msg string) *AniError

func NewAniErrorSkipf

func NewAniErrorSkipf(skip int, format string, data interface{}, a ...interface{}) *AniError

func NewAniErrorf

func NewAniErrorf(format string, a ...interface{}) *AniError

func (*AniError) Error

func (e *AniError) Error() string

func (*AniError) SetData

func (e *AniError) SetData(data interface{}) *AniError

func (*AniError) SetMsg

func (e *AniError) SetMsg(msg string) *AniError

Jump to

Keyboard shortcuts

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