customerrors

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(message string) error

func ErrorWithCause

func ErrorWithCause(cause error, message string) error

func Errorf

func Errorf(format string, a ...interface{}) error

func IsNotFound

func IsNotFound(err error) bool

func NotFound

func NotFound() error

Types

type SimpleError

type SimpleError struct {
	// contains filtered or unexported fields
}

func (*SimpleError) Error

func (gwe *SimpleError) Error() string

Jump to

Keyboard shortcuts

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