cosmos-sdk: github.com/cosmos/cosmos-sdk/crypto/keys/keyerror Index | Files

package keyerror

import "github.com/cosmos/cosmos-sdk/crypto/keys/keyerror"

Index

Package Files

errors.go

func IsErrKeyNotFound Uses

func IsErrKeyNotFound(err error) bool

IsErrKeyNotFound returns true if the given error is errKeyNotFound

func IsErrWrongPassword Uses

func IsErrWrongPassword(err error) bool

IsErrWrongPassword returns true if the given error is errWrongPassword

func NewErrKeyNotFound Uses

func NewErrKeyNotFound(name string) error

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

func NewErrWrongPassword Uses

func NewErrWrongPassword() error

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

Package keyerror imports 1 packages (graph) and is imported by 5 packages. Updated 2018-12-17. Refresh now. Tools for package owners.