errors

package
v0.0.0-...-6d34d80 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TraceEnabled = true

Functions

func Cause

func Cause(err error) error

func Equal

func Equal(err1, err2 error) bool

func Errorf

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

func New

func New(s string) error

func NotEqual

func NotEqual(err1, err2 error) bool

func Stack

func Stack(err error) trace.Stack

func Trace

func Trace(err error) error

Types

type TracedError

type TracedError struct {
	Stack trace.Stack
	Cause error
}

func (*TracedError) Error

func (e *TracedError) Error() string

Jump to

Keyboard shortcuts

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