errors

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns whether the specified error is of type "NotFound".

func IsUnknown

func IsUnknown(err error) bool

IsUnknown returns whether the specified error is of type "Unknown".

func NotFound

func NotFound(err error) error

NotFound creates an "errorNotFound" error from the specified error.

func Unknown

func Unknown(err error) error

Unknown creates an "unknown" error from the specified error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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