errors

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 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