errors

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cause

func Cause(err error) error

Cause returns the original cause of the error stack

func New

func New(text string) error

New creates a new error

func Stack

func Stack(err error) error

Stack add current code location without adding more info

func StackN

func StackN(err error, skip int) error

StackN add code location of N steps before without adding more info

func Wrap

func Wrap(err error, format string, a ...interface{}) error

Wrap existing error with additional text

Types

This section is empty.

Jump to

Keyboard shortcuts

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