errors

package
v3.6.0-rc.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogError

func LogError(err error)

func PrintError

func PrintError(err error, out io.Writer)

func PrintLog

func PrintLog(out io.Writer, title string, content []byte)

Types

type Error

type Error interface {
	error
	WithCause(error) Error
	WithSolution(string) Error
	WithDetails(string) Error
}

func NewError

func NewError(msg string, args ...interface{}) Error

Jump to

Keyboard shortcuts

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