errgo

package module
v0.0.0-...-d05f685 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mark

func Mark(cause error) error

Mark ...

func Markf

func Markf(format string, v ...interface{}) error

Markf ...

Types

type Loc

type Loc struct {
	FuncName string
	FileName string
	FileLine int
	// contains filtered or unexported fields
}

Loc info about code location with a string representation formatted as <dir>/<file>.go@<line>:<package>.<function>()

func Here

func Here(skip ...int) Loc

Here info about code location with a string representation formatted as <dir>/<file>.go@<line>:<package>.<function>()

func (Loc) String

func (l Loc) String() string

Jump to

Keyboard shortcuts

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