errors

package
v0.0.0-...-70285c8 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TraceEnabled = true

Functions

func Equal

func Equal(err1, err2 error) bool

func ErrorCause

func ErrorCause(err error) error

func ErrorStack

func ErrorStack(err error) trace.Stack

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 Static

func Static(s string) error

func Trace

func Trace(err error) error

Types

type Error

type Error struct {
	Stack trace.Stack
	Cause error
}

func (*Error) Error

func (e *Error) Error() string

Jump to

Keyboard shortcuts

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