keyerror

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0, UNKNOWN, UNKNOWN not legal advice Imports: 0 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 keyNotFoundError

func IsErrWrongPassword

func IsErrWrongPassword(err error) bool

IsErrWrongPassword returns true if the given error is wrongPasswordError

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