Versions in this module Expand all Collapse all v1 v1.1.0 Jun 11, 2019 Changes in this version + func Cause(err error) error v1.0.1 Dec 12, 2018 v1.0.0 Aug 10, 2018 Changes in this version + var Separator = ":\n\t" + func E(args ...interface{}) error + func Errorf(format string, args ...interface{}) error + func Is(kind Kind, err error) bool + func Match(err1, err2 error) bool + func MatchAll(needle, haystack error) bool + func New(text string) error + func Stacks(err error) [][]byte + func WithStack(args ...interface{}) error + type Error struct + Err error + Kind Kind + Op Op + func (e *Error) Error() string + type Kind int + const Bug + const Consensus + const Crypto + const Deployment + const DoubleSpend + const Encoding + const Exist + const IO + const InsufficientBalance + const Invalid + const Locked + const NoPeers + const NotExist + const Other + const Passphrase + const Permission + const Policy + const Protocol + const ScriptFailure + const Seed + const WatchingOnly + func (k Kind) String() string + type Op string + func Opf(format string, a ...interface{}) Op Other modules containing this package github.com/decred/dcrwallet/errors/v2