Versions in this module Expand all Collapse all v1 v1.4.2 Sep 9, 2019 v1.4.1 Aug 12, 2019 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