keyerror

package
v0.39.3 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErrKeyNotFound

func IsErrKeyNotFound(err error) bool

IsErrKeyNotFound returns true if the given error is errKeyNotFound

func IsErrWrongPassword

func IsErrWrongPassword(err error) bool

IsErrWrongPassword returns true if the given error is errWrongPassword

func NewErrKeyNotFound

func NewErrKeyNotFound(name string) error

NewErrKeyNotFound returns a standardized error reflecting that the specified key doesn't exist

func NewErrWrongPassword

func NewErrWrongPassword() error

NewErrWrongPassword returns a standardized error reflecting that the specified password is wrong

Types

This section is empty.

Jump to

Keyboard shortcuts

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