Versions in this module Expand all Collapse all v1 v1.0.0 Sep 22, 2023 Changes in this version + const SuccessABCICode + const UndefinedCodespace + var ErrPanic = Register(UndefinedCodespace, 111222, "panic") + func ABCIError(codespace string, code uint32, log string) error + func ABCIInfo(err error, debug bool) (codespace string, code uint32, log string) + func AssertNil(err error) + func IsOf(received error, targets ...error) bool + func Recover(err *error) + func WithType(err error, obj interface{}) error + func Wrap(err error, description string) error + func Wrapf(err error, format string, args ...interface{}) error + type Error struct + func New(codespace string, code uint32, desc string) *Error + func Register(codespace string, code uint32, description string) *Error + func RegisterWithGRPCCode(codespace string, code uint32, grpcCode grpccodes.Code, description string) *Error + func (e *Error) GRPCStatus() *grpcstatus.Status + func (e *Error) Is(err error) bool + func (e *Error) Wrap(desc string) error + func (e *Error) Wrapf(desc string, args ...interface{}) error + func (e Error) ABCICode() uint32 + func (e Error) Codespace() string + func (e Error) Error() string