Versions in this module Expand all Collapse all v0 v0.5.0 Mar 23, 2021 Changes in this version + var As = errors.As + var ErrBadResponse = errors.New("bad response from p2p request to remote peer") + var ErrClosing = errors.New("shutting down, halt actions") + var ErrCorrupt = errors.New("something went wrong that requires shutdown") + var ErrMissingTransactions = errors.New("unable to verify: missing transactions") + var Is = errors.Is + func ErrMadNetType() **errMadNet + type ErrInvalid struct + func (e *ErrInvalid) Error() string + func (e ErrInvalid) New(msg string) *ErrInvalid + type ErrMadNet interface + Depth func() int + Error func() string + HasTrace func() bool + String func() string + Trace func() []string + TraceStart func() int + Unwrap func() error + WithContext func(fstring string, ctx ...interface{}) ErrMadNet + WithTrace func() ErrMadNet + func New(e string) ErrMadNet + func Newf(fmtString string, args interface{}) ErrMadNet + func Wrap(e error) ErrMadNet + type ErrStale struct + func (e *ErrStale) Error() string + func (e ErrStale) New(msg string) *ErrStale