service

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalid occurs when checks fails
	ErrInvalid = errors.New("invalid")

	// ErrNotFound occurs when somehint is not found
	ErrNotFound = errors.New("not found")

	// ErrInternalError occurs when shit happens
	ErrInternalError = errors.New("internal error")
)

Functions

func ConcatError

func ConcatError(errs []error) error

ConcatError concat errors to a single string

func WrapInternal

func WrapInternal(err error) error

WrapInternal wraps given error with internal err

func WrapInvalid

func WrapInvalid(err error) error

WrapInvalid wraps given error with invalid err

func WrapNotFound added in v1.2.0

func WrapNotFound(err error) error

WrapNotFound wraps given error with not found err

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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