errors

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package errors provides internal error handlign routines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(err error, msg string) error

Wrap is function to propagate error to upper levels.

Types

type Causer

type Causer interface {
	Cause() error
}

Causer returns the cause of the error.

Jump to

Keyboard shortcuts

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