errors

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapError

func WrapError(err error, msg string) error

func WrapErrorf

func WrapErrorf(err error, msg string, args ...interface{}) error

Types

type Error

type Error struct {
	Status      int
	PublicError string
	// contains filtered or unexported fields
}

func NewError

func NewError(err error, status int, publicError string) Error

Jump to

Keyboard shortcuts

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