keyerror

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0, 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